Little Question About Timers
#5

pawn Код:
new Timer;
public OnGameModeInit()
{
    SetTimer("TestFunction",1000,false);
}
forward TestFunction();
public TestFunction()
{
    if(Timer != 2) Timer ++;//2 minutes past and the timers start working :D
    if(Timer == 2)
    {
        //Code
    }
}
Reply


Messages In This Thread
Little Question About Timers - by leo9 - 21.09.2015, 08:27
Re: Little Question About Timers - by karemmahmed22 - 21.09.2015, 08:51
Re: Little Question About Timers - by iZN - 21.09.2015, 08:58
Re: Little Question About Timers - by leo9 - 21.09.2015, 12:51
Re: Little Question About Timers - by M0HAMMAD - 21.09.2015, 13:33
Re: Little Question About Timers - by Mowgli - 21.09.2015, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)