From Official DarkRP Wiki
Jump to navigation Jump to search
Function name DarkRP.retrieveSalary(Player ply, function callback)
Get a player's salary from the database.
Returns: number salary
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=]DarkRP.retrieveSalary[/url][/b]

Function parameters

  1. ply (Player)
  2. The player to get the data for.

  3. callback (function)
  4. The function that receives the salary. Deprecated, use the return value.

Function return values

  1. salary (number)
  2. The salary.