SetPlayerTeamFromClass(playerid, classid){ if(classid == 0) { gTeam[playerid] = RED_TEAM; } else if(classid == 1) { gTeam[playerid] = BLUE_TEAM; }}