From Official DarkRP Wiki
Jump to navigation Jump to search
Hook name onPocketItemAdded(Player ply, Entity ent, table serialized)
Called when an entity is added to the pocket.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onPocketItemAdded]onPocketItemAdded hook[/url][/b]


  1. ply (Player)
  2. The pocket holder.

  3. ent (Entity)
  4. The entity.

  5. serialized (table)
  6. The serialized version of the pocketed entity.

Return values

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