From DarkRP
Jump to navigation Jump to search
Hook name onLockpickCompleted(Player ply, boolean success, Entity ent)
Result of a player attempting to lockpick an entity.
Returns: boolean override
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/onLockpickCompleted]onLockpickCompleted hook[/url][/b]


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

  3. success (boolean)
  4. Whether the player succeeded in lockpicking the entity.

  5. ent (Entity)
  6. The entity that was lockpicked.

Return values[edit]

  1. override (boolean)
  2. Return true to override default behaviour, which is opening the (fading) door.