04.12.2009, 16:37
Quote:
Originally Posted by [WsR
RyDeR ]
Код:
new KillCount[MAX_PLAYERS]; Код:
KillCount[playerid]++; KillCount[killerid]--; And at the end you must use a loop trough all players to see who the most counts have. |
Like this:
pawn Код:
new Team1Killz, Team2Killz, Team3Killz;
pawn Код:
if(GetPlayerTeam(killerid)==TEAM_BLABLUBB1)Team1Killz++;
if(GetPlayerTeam(killerid)==TEAM_BLABLUBB2)Team2Killz++;
if(GetPlayerTeam(killerid)==TEAM_BLABLUBB3)Team3Killz++;
Cheers.