Textdraws - 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: Textdraws (
/showthread.php?tid=593501)
Textdraws -
JaKe Elite - 06.11.2015
I have finally completed re-creating my script from scratch.
However, i noticed something odd. When changemode gets called, All of the textdraws created in the filterscript gets destroyed (Even though i removed the TextDrawDestroy code under the OnFilterScriptExit callback.)
Besides that, other functions such as the admin system, commands.
Works perfectly.
Any idea why this happens?
Re: Textdraws -
Pottus - 06.11.2015
You are probably losing your references to the textdraws which is the equivalent of them being lost but not destroyed.
Re: Textdraws -
JaKe Elite - 06.11.2015
Quote:
Originally Posted by Pottus
You are probably losing your references to the textdraws which is the equivalent of them being lost but not destroyed.
|
If thats the case, how can i prevent that?? I dint want to place the textdraws on every gamemode i had just to prevent this situation.
Doe i can recreat them by setting up a timer OnFilterScriptInit etc or something? Right??
Re: Textdraws -
JaKe Elite - 07.11.2015
4char
bump