Death/kill textdraw help. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Death/kill textdraw help. (
/showthread.php?tid=103816)
Death/kill textdraw help. -
Striker_Moe - 21.10.2009
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?
Re: Death/kill textdraw help. -
dice7 - 21.10.2009
Re: Death/kill textdraw help. -
RenisiL - 26.10.2009
You use my Filtscripts Kill and Death (TextDraw)?
- RenisiL
Re: Death/kill textdraw help. -
GforceNL - 18.12.2009
Quote:
Originally Posted by RenisiL
You use my Filtscripts Kill and Death (TextDraw)?
- RenisiL
|
yes i have The Same Problem
Re: Death/kill textdraw help. -
RenisiL - 18.12.2009
Re: Death/kill textdraw help. -
GforceNL - 18.12.2009
Quote:
Originally Posted by RenisiL
|
But Where i need to put it?
Sry for bad english :S
Re: Death/kill textdraw help. -
M4S7ERMIND - 18.12.2009
Replace kill[0] and death[0]