public OnPlayerRequestSpawn(playerid){ if(gTeam[playerid] == BODYGUARD) { count++; if(count > 2) return GameTextForPlayer(playerid,"~r~There are already 2 people on this team",5000,5); } return 1;}