Death/kill textdraw help.
#1

Aight..

Код:
public StatsInfromation()
{
	for(new i=0;i<MAX_PLAYERS;i++)
	{
		if (IsPlayerConnected(i))
	  {
		TextDrawHideForPlayer(i,PlayerStats[i]);
    format(str, sizeof(str), " ~r~Deaths ~w~%d - ~g~Kills ~w~%d" , kill[0], Death[0]);
    TextDrawSetString(PlayerStats[i],str);
    TextDrawShowForPlayer(i,PlayerStats[i]);
  	}
	}
	return 1;
}
I got all things definied, aswell as the crap for the textdraw at OnGameModeInit, then I got this at OnPlayerDeath:

Код:
	kill[killerid]++;
 	Death[playerid]++;
But it still - doesnt seem to work. I figured out that the death/kills in the textdraw are the ones of ID 0. How to fix?
Reply


Messages In This Thread
Death/kill textdraw help. - by Striker_Moe - 21.10.2009, 13:54
Re: Death/kill textdraw help. - by dice7 - 21.10.2009, 13:56
Re: Death/kill textdraw help. - by RenisiL - 26.10.2009, 12:53
Re: Death/kill textdraw help. - by GforceNL - 18.12.2009, 10:39
Re: Death/kill textdraw help. - by RenisiL - 18.12.2009, 12:16
Re: Death/kill textdraw help. - by GforceNL - 18.12.2009, 13:25
Re: Death/kill textdraw help. - by M4S7ERMIND - 18.12.2009, 13:33

Forum Jump:


Users browsing this thread: 1 Guest(s)