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