Functions/Player/Shared/canKeysLock
Function | |
Function name | Player:canKeysLock(Entity door) |
Description: | |
Whether the player can lock 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/canKeysLock]Player:canKeysLock[/url][/b] |
Function parameters[edit]
- door (Entity)
The door
Function return values[edit]
- allowed (boolean)
Whether the player is allowed to lock the door.