pls help, about the ammount kills of team
#1

how to know if team1 have killed 20 players from team2....
Reply
#2

make a count and on player death make the killerid team's count go up?
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)