stock CountTeamMembers(team){new ertek = 0;for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++){if(gTeam == team){ ertek ++;}}return ertek;}
CMD:valami(playerid,params[]){new tagok = CountTeamMembers(3);//3-es gTeamif(tagok < 2) return SendClientMessage(playerid,1,\"Nincs fent legalább 2 db ember a 3-mas csoportból!\");return 1;}