Functions/Player/Shared/canKeysUnlock
Jump to navigation
Jump to search
Function | |
Function name | Player:canKeysUnlock(Entity door) |
Description: | |
Whether the player can unlock a given door. | |
Returns: | boolean allowed |
Part of Library: | Player |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Shared/canKeysUnlock]Player:canKeysUnlock[/url][/b] |
Function parameters[edit]
- door (Entity)
The door
Function return values[edit]
- allowed (boolean)
Whether the player is allowed to unlock the door.