[Include] TextDraw Fix - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] TextDraw Fix (
/showthread.php?tid=494448)
<removed> -
RCON1 - 13.02.2014
<removed>
Re: TextDraw Fix -
ColeMiner - 13.02.2014
Several points:
1) Why not submit this to the standard fixes:
https://sampforum.blast.hk/showthread.php?tid=292813 - there are several text draw fixes there already.
2) You need to use ALS for hooks like this.
3) You also need to check parameters are valid, I wouldn't be surprised if this actually introduced more crashes.
4) This doesn't work at all with multiple scripts. If you create a textdraw in a filterscript, then try hide it in a different one, this include will stop you doing so.
Re: TextDraw Fix -
RCON1 - 13.02.2014
ColeMiner, thanks I sent here
http://forum.sa-mp.com/showthread.ph...=1#post2910957