Hooks/Server/onPropertyTax
Jump to navigation
Jump to search
Hook | |
Hook name | onPropertyTax(Player ply, number tax, boolean couldAfford) |
Description: | |
Called right AFTER a player's property is taxed. Please use canPropertyTax if you want to influence the taxing process. | |
Returns: | nil |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onPropertyTax]onPropertyTax hook[/url][/b] |
Parameters[edit]
- ply (Player)
- tax (number)
- couldAfford (boolean)
The player whose property has been taxed.
The amount of money that has been taxed.
Whether the player was able to afford the tax.
Return values[edit]
This hook does not accept return values. You can still return a value to override the default implementation of this hook.