Hooks/Shared/canLockpick
Hook | |
Hook name | canLockpick(Player ply, Entity ent, table trace) |
Description: | |
Whether an entity can be lockpicked. | |
Returns: | boolean allowed |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/canLockpick]canLockpick hook[/url][/b] |
Parameters[edit]
- ply (Player)
- ent (Entity)
- trace (table)
The player attempting to lockpick an entity.
The entity being lockpicked.
The trace result.
Return values[edit]
- allowed (boolean)
Whether the entity can be lockpicked