Textdraws
#1

I have finally completed re-creating my script from scratch.
However, i noticed something odd. When changemode gets called, All of the textdraws created in the filterscript gets destroyed (Even though i removed the TextDrawDestroy code under the OnFilterScriptExit callback.)

Besides that, other functions such as the admin system, commands.

Works perfectly.

Any idea why this happens?
Reply
#2

You are probably losing your references to the textdraws which is the equivalent of them being lost but not destroyed.
Reply
#3

Quote:
Originally Posted by Pottus
Посмотреть сообщение
You are probably losing your references to the textdraws which is the equivalent of them being lost but not destroyed.
If thats the case, how can i prevent that?? I dint want to place the textdraws on every gamemode i had just to prevent this situation.

Doe i can recreat them by setting up a timer OnFilterScriptInit etc or something? Right??
Reply
#4

4char

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)