07.01.2015, 19:29
Maybe because you are not assigning any value (a team id) to this variable: AllTeams[playerid].
Make your OnPlayerRequestClass to ask for a team, Terrorists or Counter-Terrorists, or make a command for that, or assign a team to every player based on whether his id is odd or even, it's your choice.
Make your OnPlayerRequestClass to ask for a team, Terrorists or Counter-Terrorists, or make a command for that, or assign a team to every player based on whether his id is odd or even, it's your choice.