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
#2

pawn Код:
kill[i], Death[i]
Reply
#3

You use my Filtscripts Kill and Death (TextDraw)?

- RenisiL
Reply
#4

Quote:
Originally Posted by RenisiL
You use my Filtscripts Kill and Death (TextDraw)?

- RenisiL
yes i have The Same Problem
Reply
#5

Код:
kill[i], Death[i]
Reply
#6

Quote:
Originally Posted by RenisiL
Код:
kill[i], Death[i]
But Where i need to put it?


Sry for bad english :S
Reply
#7

Replace kill[0] and death[0]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)