Hooks/Shared/canKeysLock
Hook | |
Hook name | canKeysLock(Player ply, Entity door) |
Description: | |
Whether the player can lock a given door. This hook is run when ply:canKeysLock is called. | |
Returns: | boolean allowed |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/canKeysLock]canKeysLock hook[/url][/b] |
Parameters[edit]
Return values[edit]
- allowed (boolean)
Whether the player is allowed to lock the door.