// OnPlayerSpawn if(gTeam[playerid] == 0) { SetPlayerTeam(playerid, 0); } else if (gTeam[playerid] == 1) { SetPlayerTeam(playerid, 1); }