Textdraws not getting destroyed ? - 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: Textdraws not getting destroyed ? (
/showthread.php?tid=95752)
Textdraws not getting destroyed ? -
am0k - 04.09.2009
textdraws not getting destroyed (correctly)
i have some publics wich worked flawless in 0.2X
but now they refuse to work^^
Код:
public TimeTextForPlayer( playerid, Text:text, time )
{
TextDrawShowForPlayer( playerid, text );
SetTimerEx( "DestroyTextTimer", time, 0, "ii", playerid, _:text );
}
Код:
public DestroyTextTimer( playerid, Text:text )
{
TextDrawDestroy( text );
}
was used to display a before created textdraw for a amount of time
why it dont get destroyed correctly now?
Re: Textdraws not getting destroyed ? - Double-O-Seven - 04.09.2009
You have to hide them before you destroy them otherwise they won't disappear... it's a bug.
Re: Textdraws not getting destroyed ? -
SanMarinoRP - 04.09.2009
even if they are... its prolly going to be something better released besides them that has better quiality
Re: Textdraws not getting destroyed ? -
am0k - 04.09.2009
thanks a lot sir =)