Posts: 67
Threads: 31
Joined: Jan 2011
Reputation:
0
how to know if team1 have killed 20 players from team2....
Posts: 252
Threads: 41
Joined: Mar 2011
Reputation:
0
make a count and on player death make the killerid team's count go up?
Posts: 6,129
Threads: 36
Joined: Jan 2009
Create an array:
Add this to OnPlayerDeath:
pawn Код:
if(GetPlayerTeam(playerid) != GetPlayerTeam(killerid))
teamOverallKills[GetPlayerTeam(killerid)-1]++;
teamOverallKills[0] will display the kill count for team 1, while teamOverallKills[1] will display the kill count for team 2.