Timer problem
#3

Quote:
Originally Posted by kadar
Посмотреть сообщение
Hi,
I have a timer that I'm using at my login system. The repeat function is set to false, but it is still repeating and I can't even kill the timer, because it just does not work.

Код:
LoginSpawnT[playerid] = SetTimerEx("AutoSpawn", 1000*60, false, "i", playerid);
That is the code how I create the timer. (I don't think there should be any problem with the code )
Код:
KillTimer(LoginSpawnT[playerid]);
And that is how I'm trying to kill it.

Does anyone have any idea what is wrong with it?
Idk how to solve the problem but if you ask me, use SetTimer:

Код:
SetTimer("AutoSpawn", 1000*60, false);
Idk if it's better but it's definitely easier to use, I use it in my script.
Reply


Messages In This Thread
Timer problem - by kadar - 20.08.2018, 16:26
Re: Timer problem - by Unkovic - 20.08.2018, 16:37
Re: Timer problem - by Mirsen2 - 20.08.2018, 16:41
Re: Timer problem - by KinderClans - 20.08.2018, 16:45
Re: Timer problem - by kadar - 20.08.2018, 16:52
Re: Timer problem - by KinderClans - 20.08.2018, 17:03
Re: Timer problem - by kadar - 20.08.2018, 17:09
Re: Timer problem - by KinderClans - 20.08.2018, 17:10
Re: Timer problem - by kadar - 20.08.2018, 17:22

Forum Jump:


Users browsing this thread: 3 Guest(s)