RebalanceTeams (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>MrNicNac
Added an example.
>Camoy
I think that putting it in the description is more helpful
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{Method
<onlyinclude>{{Method
|name = RebalanceTeams
|name = RebalanceTeams
|description = Evens the number of people on each team.
|description = Evens the number of people on each team.  This method does not appear to work as expected.
|object = Teams
|object = Teams
}}</onlyinclude>
}}</onlyinclude>
Line 7: Line 7:
{{clear floats}}
{{clear floats}}


{{Example|
{{Example|<pre>
<pre>
game:GetService("Teams"):RebalanceTeams()
Game:GetService("Teams"):RebalanceTeams()
</pre>}}
</pre>
}}


[[Category:Methods]]
[[Category:Methods]]

Latest revision as of 21:10, 23 January 2011

RebalanceTeams( )
Returns nil
Description: Evens the number of people on each team. This method does not appear to work as expected.
Member of: Teams


Example
game:GetService("Teams"):RebalanceTeams()