Problem with global kills
#1

Hi all,i've coded a textdraw to show global kills of a team. (In this case usa).

I do it in this way:

pawn Код:
new UsaKills;
OnPlayerConnect

pawn Код:
new ukills[128];
    format(ukills, sizeof(ukills), "Usa Kills: %d", UsaKills);
    TextDrawSetString(UKD, ukills);
    TextDrawShowForAll(UKD);
OnPlayerDeath

pawn Код:
if ( killerid == TEAM_USA )
    {
        UsaKills += 1 ;
    }
The textdraw shows but the counter of kills doesn't increase.What's wrong?
Reply


Messages In This Thread
Problem with global kills - by Face9000 - 11.06.2011, 06:57
Re: Problem with global kills - by 0ne - 11.06.2011, 07:08
Re: Problem with global kills - by PotH3Ad - 11.06.2011, 07:19
Re: Problem with global kills - by Face9000 - 11.06.2011, 07:23
Re: Problem with global kills - by PotH3Ad - 11.06.2011, 07:28
Re: Problem with global kills - by Face9000 - 11.06.2011, 07:45

Forum Jump:


Users browsing this thread: 1 Guest(s)