Hooks/Server/playerToreUpCheque
Jump to navigation
Jump to 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: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerToreUpCheque]playerToreUpCheque hook[/url][/b] |
Parameters[edit]
- player (Player)
- player (Player)
- amount (number)
- entity (Entity)
The player who tore up the cheque.
The player who the cheque was written to.
The amount of money the cheque has.
The entity of the cheque.
Return values[edit]
This hook does not accept return values. You can still return a value to override the default implementation of this hook.