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

Function parameters[edit]

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

  3. callback (function)
  4. The function that receives the information.

  5. failure (function)
  6. The function that is called when the information cannot be retrieved.

Function return values[edit]

This function does not return any value.