SA-MP Forums Archive
Textdraw bug - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Textdraw bug (/showthread.php?tid=201611)



Textdraw bug - BlackWolf120 - 21.12.2010

hi,
do i have to hide a texdraw for playerid on OnGameModeExit or sth.?
casue ive got some issues with my texdraws if some players leave an rejoin the server again.

first i try to ask like this and if its not possible to answer it without a code im gonna to post it.

regards.


Re: Textdraw bug - DJDhan - 21.12.2010

If you have textdraws for each player, then you need to destroy the text draw under OnPlayerDisconnect. If you have common textdraws for everybody, you only need to destroy the textdraws under OnGameModeExit, although that's not mandatory.