Crazy Timer bug
#3

normally u set a timer like this:

pawn Код:
SetTimer("Timer_ID",interval,repeating);
But use SetTimerEx here cause u want to start a timer for only a specific player.

pawn Код:
SetTimerEx("Timer_ID",interval,repeating,"i",playerid);
Also u have to assign a variable to the timer

pawn Код:
new RentbikeTimer;
RentbikeTimer = SetTimerEx("Timer_ID",interval,repeating,"i",playerid);
And then kill it like this:

pawn Код:
KillTimer(RentbikeTimer);
Reply


Messages In This Thread
Crazy Timer bug - by jorambo - 25.02.2011, 21:00
Re: Crazy Timer bug - by Think - 25.02.2011, 21:01
Re: Crazy Timer bug - by BlackWolf120 - 25.02.2011, 21:11
Re: Crazy Timer bug - by jorambo - 25.02.2011, 21:56

Forum Jump:


Users browsing this thread: 1 Guest(s)