// Under the callback 'OnPlayerSpawn'if(gteam[playerid] == Team_BLUE){// Spawn at blue}if(gteam[playerid] == Team_RED){// Spawn at red}