From Official DarkRP Wiki
Revision as of 14:38, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Function name Player:canKeysUnlock(Entity door)
Whether the player can unlock a given door.
Returns: boolean allowed
Part of Library: Player
Realm: NewerShared.png
BBCode Link: [b][url=]Player:canKeysUnlock[/url][/b]

Function parameters

  1. door (Entity)
  2. The door

Function return values

  1. allowed (boolean)
  2. Whether the player is allowed to unlock the door.