SA-MP Forums Archive
Textdraws not showing up - 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 not showing up (/showthread.php?tid=425071)



Textdraws not showing up - vvhy - 24.03.2013

I have textdraws that pop up every time someone robs a store on my cops and robbers server.After about a day of the server running, the textdraws stop popping up at all. Has anyone had a problem like this? Any ideas? I have a feeling it has something to do with lost packets or something similar.


Re: Textdraws not showing up - Denying - 24.03.2013

Use iPLEOMAX's TextDraw Editor, it's awesome and easy to use.


Re: Textdraws not showing up - Vince - 24.03.2013

Quote:
Originally Posted by vvhy
Посмотреть сообщение
I have a feeling it has something to do with lost packets or something similar.
Good try, but no. The probably cause is you creating new textdraws all the time without destroying old ones, thus reaching the limit and preventing any further textdraws from being created.


Re: Textdraws not showing up - vvhy - 24.03.2013

Vince, that would make total sense! I have this on player disconnect:
Код:
TextDrawDestroy(JailTimer[playerid]);
Does that delete count towards the limit, even know it has [playerid]?

EDIT:
And also does this happen with objects and object limits too? Like DestroyObject then CreateObject?