02.09.2009, 21:24
How do i make a litmit for a team? Like: 2 teams, every team can only have 15 players, and if 16th player try to enter the team, receive a message saying that the team is full.
Help?
Help?
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!");
}