// OnPlayerSpawnif (gTeam[playerid] == YOUR_TEAM){ SetPlayerTeam(playerid, YOUR_TEAM);}else if (gTeam[playerid] == YOUR_TEAM_2){ SetPlayerTeam(playerid, YOUR_TEAM_2);}