Score system - HELP
#8

Is this right?

Код:
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++;
    }
}
InGame when I killed someone i get 2points for team1, when someone kill me, I again get points.
Reply


Messages In This Thread
Score system - HELP - by Saddin - 16.11.2012, 19:20
AW: Score system - HELP - by Skimmer - 16.11.2012, 19:52
Re: Score system - HELP - by Sam5513 - 16.11.2012, 20:08
Re: Score system - HELP - by Saddin - 16.11.2012, 20:10
Re: Score system - HELP - by Sam5513 - 16.11.2012, 20:12
Re: Score system - HELP - by Saddin - 16.11.2012, 20:15
Re: Score system - HELP - by Sam5513 - 16.11.2012, 20:24
Re: Score system - HELP - by Saddin - 16.11.2012, 20:43
Re: Score system - HELP - by Sam5513 - 17.11.2012, 08:13
Re: Score system - HELP - by Saddin - 17.11.2012, 08:41
Re: Score system - HELP - by Konstantinos - 17.11.2012, 08:45
Re: Score system - HELP - by Sam5513 - 17.11.2012, 09:46

Forum Jump:


Users browsing this thread: 1 Guest(s)