Hooks/Server/playerDroppedCheque

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

Parameters

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

  3. player (Player)
  4. The player the cheque was written to.

  5. amount (number)
  6. The amount of money the cheque has.

  7. entity (Entity)
  8. The entity of the cheque 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.