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)
+--- Thread: TextDraw help!!! !!! (
/showthread.php?tid=544957)
TextDraw help!!! !!! -
9noober - 05.11.2014
I create a textdraw that show wantedlevel but after i die with wanted level,the textdraw wont clear.than i set other number it will stack together.
Re: TextDraw help!!! !!! -
Mitchelll - 05.11.2014
Set the string of that textdraw in OnPlayerDeath.
pawn Код:
TextDrawSetString(text:textdrawid, string[]);
Re: TextDraw help!!! !!! -
Justinclaveria123 - 05.11.2014
Or TextDrawHideForPlayer put OnPlayerDeath
Re: TextDraw help!!! !!! -
Toxik - 05.11.2014
pawn Код:
public OnPlayerDeath(playerid,killerid,reason)
{
TextDrawHideForPlayer//CODES//
return 1;
}
Re: TextDraw help!!! !!! -
9noober - 05.11.2014
After i death my wanted become 0 but still show the textdraw

how to fix it
Re: TextDraw help!!! !!! -
Toxik - 05.11.2014
what exacly do you need ? the textdraw show after the Death or Textdraw Removing sfter death ?
Re: TextDraw help!!! !!! -
Kyance - 05.11.2014
Use "TextDrawHideForPlayer" at OnPlayerDeath( as Toxik said ) or OnPlayerSpawn
Re: TextDraw help!!! !!! -
9noober - 05.11.2014
won't works every time i die it will stack the wanted level textdraw.
Re: TextDraw help!!! !!! -
HY - 05.11.2014
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
TextDrawHideForPlayer(playerid, TextdrawID);
return 1;
}
https://sampwiki.blast.hk/wiki/TextDrawHideForPlayer
This forum requires that you wait 120 seconds between posts. Please try again in 15 seconds.
Re: TextDraw help!!! !!! -
9noober - 05.11.2014
cant works