pls help, about the ammount kills of team
#3

Create an array:

pawn Код:
new teamOverallKills[2];
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.
Reply


Messages In This Thread
pls help, about the ammount kills of team - by handerson - 02.07.2011, 09:03
Re: pls help, about the ammount kills of team - by CrazyBlob - 02.07.2011, 09:05
Re: pls help, about the ammount kills of team - by Calgon - 02.07.2011, 09:07

Forum Jump:


Users browsing this thread: 1 Guest(s)