Thank you for your help!
I tested this code, but I did not want the results:
1: Monitor is team when a player enters the server First, change the player's team is not complete: the start will not get a knife and weapons, the time is displayed in the top of the screen.
2: When a player enters the server, but do not select the team. The result is not to change the players team.
3: When a player chooses a team, but there is no choice models. You can not change his team. . .