Quote:
Originally Posted by 0ne
pawn Код:
ReturnPlayersInTeam(teamid) { if(!IsPlayerNpc(playerid)) { new t; for(new a;a<MAX_PLAYERS,IsPlayerConnected(a);a++)if(gTeam[a]==teamid)t++; return t; } }
try it.
|
i tried, but there is a problem because playerid dont exist in that function so it must be the 'a' one but when i put instead of playerid a it sais undefined symbol 'a'