Hot to put a limit for a team ? like in this team ....
#6

Код:
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!");
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)