PDA

View Full Version : Why do we destroy textdraws?


Ritzy2K
13/06/2015, 04:43 PM
Im not able to figure out why do we destroy textdraws under OnGameModeExit() or filterscript one.

When the gamemode is shutting down why care destroying it?

Sorry for my bad english.

Sawalha
13/06/2015, 04:53 PM
i think be cause it contributes in gm performance consumption, or when it ends while textdraws are still not destroyed / when server starts again, it starts slowly?
i'm not sure about this(i think it's false) .. but that's what i guess
actually, i just say "get rid of the thing you don't need better"

Ritzy2K
13/06/2015, 04:57 PM
Why will the servet start slowly? textdraws arent saved anywhere? it should destroy them itself when gamemode shuts down cause when gamemode is restarted textdraws are re created?

i think they just consume lines in the script... i dont find any reason to destroy them.

GuyYahood1
13/06/2015, 04:57 PM
Limit? If you will do GMX.

Sawalha
13/06/2015, 05:00 PM
public textdraws don't destroy themselves automatically, but player textdraws do
so, when the server ends, it means everything ends, and so, since the general textdraws don't destroy themselves, you have to do it

Ritzy2K
13/06/2015, 05:03 PM
How? so why are they created Again in OnGameModeInit when they werent even destroyed?

How come they save themself?

Ritzy2K
14/06/2015, 05:16 PM
anyone else? i cant really figure out.