SA-MP Forums Archive
Textdraw at exit, hide or destroy? - 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 at exit, hide or destroy? (/showthread.php?tid=78606)



Textdraw at exit, hide or destroy? - Rks25 - 21.05.2009

What is better to do, when gamemode is shutting down/restarting. TextDrawHideForPlayer or TextDrawestroy..?


Re: Textdraw at exit, hide or destroy? - Correlli - 21.05.2009

Quote:
Originally Posted by RKS_
What is better to do, when gamemode is shutting down/restarting. TextDrawHideForPlayer or TextDrawestroy..?
I think it's destroyed by default if the OnGameModeExit is called.


Re: Textdraw at exit, hide or destroy? - Rks25 - 21.05.2009

Can someone confirm this?

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by RKS_
What is better to do, when gamemode is shutting down/restarting. TextDrawHideForPlayer or TextDrawestroy..?
I think it's destroyed by default if the OnGameModeExit is called.



Re: Textdraw at exit, hide or destroy? - MenaceX^ - 21.05.2009

I prefer to destroy it.
1. You don't need to hide it since in OnGameModeExit none sees it anymore.
2. It removes 1 from the textdraws count.
3. It's my opinion.


Re: Textdraw at exit, hide or destroy? - Rks25 - 22.05.2009

but it is necassary to detroy it?


Re: Textdraw at exit, hide or destroy? - MenaceX^ - 22.05.2009

Eh, what are these questions?..
Do what you want, you won't listen to us anyway, read replies and try to understand it.


Re: Textdraw at exit, hide or destroy? - OmeRinG - 22.05.2009

Destroying isn't necessery, it's recommended.


Re: Textdraw at exit, hide or destroy? - Weirdosport - 22.05.2009

Well to find out get a textdraw up and gmx it without destroying.. If it's gone when the next gamemode starts it's obvious..


Re: Textdraw at exit, hide or destroy? - Rks25 - 22.05.2009

Quote:
Originally Posted by Weirdosport
Well to find out get a textdraw up and gmx it without destroying.. If it's gone when the next gamemode starts it's obvious..
I did it, it was still there, so that is why, but still thanks.

Quote:
Originally Posted by OmeRinG
Destroying isn't necessery, it's recommended.
Oke will do than, thanks.