Hooks/Server/playerGaveMoney
Hook | |
Hook name | playerGaveMoney(Player player, Player otherPlayer, number amount) |
Description: | |
Called when a player gives another player money. | |
Returns: | nil |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerGaveMoney]playerGaveMoney hook[/url][/b] |
Parameters[edit]
- player (Player)
- otherPlayer (Player)
- amount (number)
The player that gives the money.
The player that receives the money.
The amount of money.
Return values[edit]
This hook does not accept return values. You can still return a value to override the default implementation of this hook.