From Official DarkRP Wiki
Revision as of 14:48, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hook name onPropertyTax(Player ply, number tax, boolean couldAfford)
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]


  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.