08.04.2011, 19:11
You said from 0 till 2? Then also 2? I just need 2 teams?
Also, can you make this work too?
?
Also, can you make this work too?
pawn Код:
stock GetLowestCountTeam()
{
new c0, c1;
for (new i = 0; i < MAX_PLAYERS; i ++)
{
if (Team[i] == Team0) { c0 += 1; }
else if (Team[i] == Team1) { c1 += 1; }
}
if (c0 < c1) return Team0;
else if (c0 > c1) return Team1;
}