Hooks/Server/onPaidTax

From Official DarkRP Wiki
Jump to navigation Jump to search
Hook
Hook name onPaidTax(Player ply, number tax, number wallet)
Description:
Called when a player has paid tax.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onPaidTax]onPaidTax hook[/url][/b]

Parameters

  1. ply (Player)
  2. The player who was taxed.

  3. tax (number)
  4. The percentage of tax taken from his wallet.

  5. wallet (number)
  6. The amount of money the player had before the tax was applied.

Return values

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