menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Im so confused about this -.-
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Im so confused about this -.-
Kepie
Join Date: 2011-11-12
Post Count: 884
#95441210
Saturday, April 20, 2013 9:44 PM GMT
Does game.Players:GetPlayes() get ALL the players?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Kepie
Join Date: 2011-11-12
Post Count: 884
#95441492
Saturday, April 20, 2013 9:47 PM GMT
Players*
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
1WOOF1
Join Date: 2009-05-03
Post Count: 20682
#95441562
Saturday, April 20, 2013 9:48 PM GMT
All the players in the game at the time of calling it, yes.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
TheGamer101
Join Date: 2009-02-14
Post Count: 11943
#95441566
Saturday, April 20, 2013 9:48 PM GMT
Yes.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Kepie
Join Date: 2011-11-12
Post Count: 884
#95441982
Saturday, April 20, 2013 9:52 PM GMT
If it gets everyone then why does it need a loop? players = game.Players:GetPlayers() for i = 1,#players do players[i].Character:Destroy() end
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
1WOOF1
Join Date: 2009-05-03
Post Count: 20682
#95442034
Saturday, April 20, 2013 9:53 PM GMT
@Kep, Because it returns a table with the players in it.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Kepie
Join Date: 2011-11-12
Post Count: 884
#95442174
Saturday, April 20, 2013 9:54 PM GMT
Yeah i know, and now i suddenly thought of why i didnt think of it as a table.Now it makes much more sence.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right