18.12.2013, 16:21
That code is shit, to be honest.
Do this that way, whenever player joins and he's choosing his team (let's say he chosen team CS) just add +1 to this team, but before that do a check (if statement) is that team full or not.
So basically, do a check when player is trying to choose a team, I don't know why you're using loops there.
Do this that way, whenever player joins and he's choosing his team (let's say he chosen team CS) just add +1 to this team, but before that do a check (if statement) is that team full or not.
So basically, do a check when player is trying to choose a team, I don't know why you're using loops there.
