Hooks/Shared/lockpickTime

From Official DarkRP Wiki
Jump to navigation Jump to search
Hook
Hook name lockpickTime(Player ply, Entity ent)
Description:
The length of time, in seconds, it takes to lockpick an entity.
Returns: number time
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/lockpickTime]lockpickTime hook[/url][/b]

Parameters

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

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

Return values

  1. time (number)
  2. Seconds in which it takes a player to lockpick an entity