GetPlayers (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Ylsid
Added a section on Players.
>Mr Doom Bringer
No edit summary
Line 1: Line 1:
{{CatUp|Functions}}
{|
GetPlayers() returns all of the Players in [[RBX.lua.Players (Service)|Players]] as a table. Use this to find the players instead of game.Players:GetChildren(), as it's a lot more reliable.
|<onlyinclude>
 
{{Function|
[[Category:Functions]]
name                  = GetPlayerFromCharacter
|arguments            =
|returns             = [[Table]] ''list of players''
|description          = Gives you a list of all the players in a server.
|object              = [[RBX.lua.Players (Service)|Players]]
|}}</onlyinclude>
|}

Revision as of 23:39, 13 July 2010

GetPlayerFromCharacter( )
Returns Table list of players
Description: Gives you a list of all the players in a server.