Hooks/Server/playerToreUpCheque

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

Parameters

  1. player (Player)
  2. The player who tore up the cheque.

  3. player (Player)
  4. The player who 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.

Return values

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