SA-MP Forums Archive
What's the point of destroying Global 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: What's the point of destroying Global TextDraws (/showthread.php?tid=630930)



What's the point of destroying Global TextDraws - Riwerry - 20.03.2017

Hello, I wanna ask a question, why should be created Global TextDraws destroyed? I've done some testing with server restarts (gmx) and there wasn't a difference when I destroyed all of the created Global TextDraws inside OnGameModeExit and creating them again in OnGameModeInit.

I also know, that Player TextDraws are destroyed automatically upon player disconnects, but that has nothing to do with Global ones.