Score system - HELP
#9

oh sorry. its my bad.. I was sleepy. It should be just
Код:
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
    }
}
The previous code added score to team one twice.
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: 3 Guest(s)