SA-MP Forums Archive
about killing timer's - 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: about killing timer's (/showthread.php?tid=137102)



about killing timer's - shady91 - 27.03.2010

if you try to destroy a textdraw that isn't valid it mess's your other textdraw's up makes them blink etc..

what happens if you kill a timer that isn't valid does it mess with other timers?

I know this isn't very important, I just never knew so I thought I'd ask.


Re: about killing timer's - ¤Adas¤ - 27.03.2010

Yes, it is possible. It is needed to be very careful, when scripting, because some things can go bad.


Re: about killing timer's - shady91 - 27.03.2010

Quote:
Originally Posted by ¤Adas¤
Yes, it is possible. It is needed to be very careful, when scripting, because some things can go bad.
Thought so, I always make sure my timer's are running before I kill them, I was just looking at someone code and noticed that they had kill timer when a player leave, but there was a chance the timer wouldn't of been set but would of still been killed when they left witch made me ask this question.


Re: about killing timer's - lionlev - 27.03.2010

Quote:
Originally Posted by ¤Adas¤
Yes, it is possible. It is needed to be very careful, when scripting, because some things can go bad.
I always making back ups before adding new scripts :P