Hooks/Shared/lockpickStarted

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name lockpickStarted(Player ply, Entity ent, table trace)
Description:
Called when a player is about to pick a lock.
Returns: nil
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/lockpickStarted]lockpickStarted hook[/url][/b]

Parameters

  1. ply (Player)
  2. The player that is about to pick a lock.

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

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

Return values

This hook does not accept return values. You can still return a value to override the default implementation of this hook.