SA-MP Forums Archive
timer create and kill - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: timer create and kill (/showthread.php?tid=586056)



timer create and kill - Karolukas123 - 18.08.2015

So hey.. need help.. i create timer


Код:
SetTimerEx("Destroy", 60000, false, "i", playerid);
how to kill it ??


Re: timer create and kill - brandypol - 18.08.2015

Quote:
Originally Posted by Karolukas123
Посмотреть сообщение
So hey.. need help.. i create timer


Код:
SetTimerEx("Destroy", 60000, false, "i", playerid);
how to kill it ??
what exactly do you want to kill ? be more specific please


Re: timer create and kill - jlalt - 18.08.2015

PHP код:
new destroytimer;
destroytimer SetTimerEx("Destroy"60000false"i"playerid);
// Later
KillTimer(destroytimer);