16.06.2013, 16:24
i dont think u can set the maximum team members for that function, all u need to do is create an array that holds every team members count, then when the max is reached u just disallow players from joining it
this array gets initialized to 0 (for all teams), then when somebody joins a certain team, it gets inceased by one, and when somebody leaves, it gets decreased, as simple as that
this array gets initialized to 0 (for all teams), then when somebody joins a certain team, it gets inceased by one, and when somebody leaves, it gets decreased, as simple as that