16.11.2012, 20:43
Is this right?
InGame when I killed someone i get 2points for team1, when someone kill me, I again get points.
Код:
OnPlayerDeath(playerid,killerid,reason) { if(team[killerid]==0) { team1score++; //adding kill to team which killed player } if(team[playerid]==1) { team2score++; //adding kill to team which killed player } if(team[playerid]==0) { team1score++; } }