new team = random(1);switch(team){ case 0: { gTeam[playerid] = REDTEAM; } case 1: { gTeam[playerid] = GREENTEAM; }}