Functions/DarkRP/Shared/findPlayers

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.findPlayers(string info)
Description:
Find a list of players based on vague information.
Returns: table found
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/findPlayers]DarkRP.findPlayers[/url][/b]

Function parameters

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


Function return values

  1. found (table)
  2. Table of players that match the description.