Hooks/Server/playerDroppedMoney

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

Parameters

  1. player (Player)
  2. The player who dropped the money.

  3. amount (number)
  4. The amount of money dropped.

  5. entity (Entity)
  6. The entity of the money that was dropped.

Return values

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