Hooks/Server/canPropertyTax
Jump to navigation
Jump to search
Hook | |
Hook name | canPropertyTax(Player ply, number tax) |
Description: | |
Called right before a player's property is taxed. This hook differs from onPropertyTax in that onPropertyTax is called AFTER the taxing. With this hook, one can influence the taxing process. | |
Returns: | boolean shouldTax, number taxOverride |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canPropertyTax]canPropertyTax hook[/url][/b] |
Parameters[edit]
- ply (Player)
- tax (number)
The player whose property will be taxed.
The amount of money that will be taxed (unless overridden by this hook).