Hooks/Server/playerPickedUpMoney

From Official DarkRP Wiki
Jump to navigation Jump to search
Hook
Hook name playerPickedUpMoney(Player player, number amount, Entity entity)
Description:
Called when a player picked up money.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerPickedUpMoney]playerPickedUpMoney hook[/url][/b]

Parameters

  1. player (Player)
  2. The player who picked up the money.

  3. amount (number)
  4. The amount of money picked up.

  5. entity (Entity)
  6. The entity of the money picked up itself.

Return values

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