Hooks/Server/onPocketItemRemoved

From DarkRP
Jump to navigation Jump to search
Hook
Hook name onPocketItemRemoved(Player ply, number item)
Description:
Called when an item is removed from the pocket.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onPocketItemRemoved]onPocketItemRemoved hook[/url][/b]

Parameters[edit]

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

  3. item (number)
  4. The index of the pocket item.

Return values[edit]

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