public OnPlayerRequestSpawn(playerid){ if(gTeam[playerid] == 6) { if(PlayerInvite = 1) { return 1; } else { return 0; } } }