SetTimerEx
#6

Why do you kill the timer? It makes no sense to kill it AFTER it's been used. That's like throwing a banana that you've already eaten in the trash - it's impossible for starters unless you puke it up but yeah this analogy is going weird so let's stop here. Don't kill a timer that's already dead.

As for it not being called, try and replace all the code in the timer with just a print. Also why do you even have a variable for it? It never gets killed. You should kill it under OnPlayerDisconnect though in case they /q in the first 2 seconds after connecting. It may happen.

Summary: replace function contents with a print to see if it's being called.
Reply


Messages In This Thread
SetTimerEx - by Jack_Leslie - 21.08.2012, 04:47
Re: SetTimerEx - by MP2 - 21.08.2012, 04:52
Re: SetTimerEx - by Jack_Leslie - 21.08.2012, 04:55
Re: SetTimerEx - by MP2 - 21.08.2012, 04:59
Re: SetTimerEx - by Jack_Leslie - 21.08.2012, 05:01
Re: SetTimerEx - by MP2 - 21.08.2012, 05:09
Re: SetTimerEx - by Jack_Leslie - 21.08.2012, 05:12
Re: SetTimerEx - by Jack_Leslie - 23.08.2012, 05:13

Forum Jump:


Users browsing this thread: 2 Guest(s)