From DarkRP
Revision as of 18:44, 26 August 2020 by DarkRPWikiBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hook name canLockpick(Player ply, Entity ent, table trace)
Whether an entity can be lockpicked.
Returns: boolean allowed
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/canLockpick]canLockpick hook[/url][/b]


  1. ply (Player)
  2. The player attempting to lockpick an entity.

  3. ent (Entity)
  4. The entity being lockpicked.

  5. trace (table)
  6. The trace result.

Return values[edit]

  1. allowed (boolean)
  2. Whether the entity can be lockpicked