Posts: 166
Threads: 0
Joined: Feb 2013
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.