Timer isn't working
#5

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
You are doing it in wrong way, first you are starting timers under OnGameModeInit for every connected player (if(IsPlayerConnected(id))), at that point noone is connected.
SetTimer("Unfreeze", 120000, false);
False means don't reapeat action, do it just one time.
i already said

Quote:
Originally Posted by mongi
Посмотреть сообщение
i was using this code:

PHP код:
SetTimer("Unfreeze"120000false); 
and the same thing, the timer didn't work. also the race will start when the timer end


Edit: the function "Unfreeze" will be called after 2 mns, and when i join the server, nothing happen
so the problem is the timer don't start at the 1st time
Reply


Messages In This Thread
Timer isn't working - by mongi - 20.09.2016, 16:32
Re: Timer isn't working - by ranme15 - 20.09.2016, 16:35
Re: Timer isn't working - by mongi - 20.09.2016, 16:39
Re: Timer isn't working - by Dragony92 - 20.09.2016, 16:49
Re: Timer isn't working - by mongi - 20.09.2016, 20:10
Re: Timer isn't working - by oMa37 - 20.09.2016, 20:37
Re: Timer isn't working - by mongi - 20.09.2016, 21:08
Re: Timer isn't working - by oMa37 - 20.09.2016, 21:15
Re: Timer isn't working - by mongi - 21.09.2016, 11:44

Forum Jump:


Users browsing this thread: 1 Guest(s)