Functions/DarkRP/Shared/findPlayer

From Official DarkRP Wiki
Revision as of 14:24, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Function
Function name DarkRP.findPlayer(string info)
Description:
Find a single player based on vague information.
Returns: Player found
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/findPlayer]DarkRP.findPlayer[/url][/b]

Function parameters

  1. info (string)
  2. The information of the player (UserID, SteamID, name).


Function return values

  1. found (Player)
  2. The player that matches the description.