From Official DarkRP Wiki
Jump to navigation Jump to search
Hook name playerGetSalary(Player ply, number amount)
When a player receives salary.
Returns: boolean suppress, string message, number amount
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerGetSalary]playerGetSalary hook[/url][/b]


  1. ply (Player)
  2. The player who is receiving salary.

  3. amount (number)
  4. The amount of money given to the player.

Return values

  1. suppress (boolean)
  2. Suppress the salary message.

  3. message (string)
  4. Override the default message (suppress must be false).

  5. amount (number)
  6. Override the salary.