25.02.2011, 21:11
normally u set a timer like this:
But use SetTimerEx here cause u want to start a timer for only a specific player.
Also u have to assign a variable to the timer
And then kill it like this:
pawn Код:
SetTimer("Timer_ID",interval,repeating);
pawn Код:
SetTimerEx("Timer_ID",interval,repeating,"i",playerid);
pawn Код:
new RentbikeTimer;
RentbikeTimer = SetTimerEx("Timer_ID",interval,repeating,"i",playerid);
pawn Код:
KillTimer(RentbikeTimer);