Hooks/Server/onPocketItemRemoved

From Official DarkRP Wiki
Jump to: navigation, 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

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

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

Return values

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