SA-MP Forums Archive
Deleting non-existed PlayerTD - 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: Deleting non-existed PlayerTD (/showthread.php?tid=496247)



Deleting non-existed PlayerTD - HighPrint - 21.02.2014

Hello,

I have a question. I'm occuring a bug with textdraws (specifically PlayerTextDraw) and somehow I can't find a problem. I counted all my PlayerTDDs and it isn't even exceeding the 100. But there's one thing that I suspect is my main problem and also goes to my question that I'm curious about it.

What happens if I delete non-existed PlayerTD? Does it have an effect to the other already created TDs?


Re: Deleting non-existed PlayerTD - FilesMAker - 21.02.2014

I can't found anything about destroying non exist TextDraw, but if you worry use that TextDrawHideForPlayer().


Re : Deleting non-existed PlayerTD - MCZOFT - 21.02.2014

absolutely No, since each one have his own TD's .. , but if you getting disturbed with TextDrawDestroy


Re: Deleting non-existed PlayerTD - HighPrint - 21.02.2014

Thanks for respond MCZOFT, I already converted it into serverside TD's and it doesn't bug anymore but I'm still curious why it does what it did... I mean deleting un-existed TD