SA-MP Forums Archive
PlayerTextdraws disappear! - 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: PlayerTextdraws disappear! (/showthread.php?tid=519627)



PlayerTextdraws disappear! - TheBosss - 15.06.2014

Hello,

My problem is that after a 4-5 days of uptime,my PlayerTextdraws are not showing up,but the global ones are ok.
What could be the problem?


Re: PlayerTextdraws disappear! - HeLiOn_PrImE - 15.06.2014

you mean, they all disappear? maybe a limit was reached and started causing this bug.


Re: PlayerTextdraws disappear! - ikey07 - 15.06.2014

Whenever you create a player textdraw, make sure that you destroy it when player disconnects.
And assign textdraws variable to invalid text draw.

like PlayerTextDrawDestroy(playerid,TXT[playerid]);
TXT[playerid] = PlayerText:INVALID_TEXT_DRAW;


Re: PlayerTextdraws disappear! - TheBosss - 15.06.2014

Thanks ikey07!!!!