Timer - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Timer (
/showthread.php?tid=128582)
Timer -
deather - 18.02.2010
How to set an infinite timer amount?
SetTimer(funcname[], interval, repeating);
I want that interval to be infinite or till i close my server.
Re: Timer -
Correlli - 18.02.2010
Just set
repeating to true and the timer will repeat.
Re: Timer -
addinol - 18.02.2010
Код:
SetTimer("taskCmd", 1, 1);
Код:
public taskCmd()
{
SetTimer("functionCmd", 1, 1);
}
Re: Timer -
deather - 18.02.2010
Oh ty