From Official DarkRP Wiki
Revision as of 14:53, 19 June 2016 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hook name playerToreUpCheque(Player player, Player player, number amount, Entity entity)
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]


  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.