13.11.2011, 18:34
if I want to stop timer job should kill timer or for SetTimerEx is not need?
//definings
new TimerKill[MAX_PLAYERS];
//Set the timer like:
TimerKill[playerid] = SetTimerEx("TimerExample",1000,true,"i",playerid);
//Kill the timer like:
KillTimer(TimerKill[playerid]);
TimerKill[playerid]=-1;

//At The Top
new JobTimer;
public OnGameModeInit()
{
JobTimer = SetTimerEx("YourJob", 180000, false, "i", 1);
return 1;
}
//There you want it
KillTimer(xReactionTimer);

|
The SetTimerEx function got nothing to do with RP but im happy i could help.
![]() |
SetTimerEx("cardestroyedhide", 5000, 0, "i", vehicleid);