Hooks/Server/onPropertyTax

From Official DarkRP Wiki
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: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onPropertyTax]onPropertyTax hook[/url][/b]

Parameters

  1. ply (Player)
  2. The player whose property has been taxed.

  3. tax (number)
  4. The amount of money that has been taxed.

  5. couldAfford (boolean)
  6. Whether the player was able to afford the tax.

Return values

This hook does not accept return values. You can still return a value to override the default implementation of this hook.