switch(PlayerTeam[playerid]){
case TEAM_POLICE:{
if(Police > Terrorist)return !GameTextForPlayer(playerid, "~r~You must join Terrorist's", 3000, 5);
else if(Police >= 10)return !GameTextForPlayer(playerid, "~r~Terrorist's is full", 3000, 5);
}
case TEAM_TERRORIST:{
if(Terrorist > Police)return !GameTextForPlayer(playerid, "~r~You must join the Police", 3000, 5);
else if(Terrorist >= 10)return !GameTextForPlayer(playerid, "~r~Terrorist's is full", 3000, 5);
}
}