Functions/DarkRP/Server/offlinePlayerData

From Official DarkRP Wiki
Jump to: navigation, search
Function
Function name DarkRP.offlinePlayerData(string steamid, function callback, function failure)
Description:
Get a player's information from the database using a SteamID for use when the player is offline.
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/offlinePlayerData]DarkRP.offlinePlayerData[/url][/b]

Function parameters

  1. steamid (string)
  2. The SteamID of 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

This function does not return any value.