17.11.2012, 08:13
oh sorry. its my bad.. I was sleepy. It should be just
The previous code added score to team one twice.
Код:
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 } }