Hooks/Server/canTax
Hook | |
Hook name | canTax(Player ply, number tax) |
Description: | |
Called before a player pays taxes. This hook differs from onPaidTax in that this hook can prevent the taxing and change the tax amount. | |
Returns: | boolean shouldTax, number tax |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canTax]canTax hook[/url][/b] |
Parameters[edit]
- ply (Player)
- tax (number)
The player who was taxed.
The amount of money that is about to be taxed from the player.