new TeamCount = 0; //When person enters team TeamCount++; //When persons leaves team TeamCount--; //Then to see if its full if(TeamCount >= 15) { SendClientMessage(playerid,red,"Team is full!"); }