SA-MP Forums Archive
set timer ex help - 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: set timer ex help (/showthread.php?tid=96721)



set timer ex help - [mad]MLK - 10.09.2009

hey there what would i put if i wanted the server to repeat the timer? here is my timer:

Код:
SetTimerEx("serverpoints", 600, 0, "i", playerid);
what would i change that to to make it repeat every 600 ms??


Re: set timer ex help - Calgon - 10.09.2009

Try looking at the syntax of functions next time, but

pawn Код:
SetTimerEx("serverpoints", 600, 0, "i", playerid);
Change that, to:

pawn Код:
SetTimerEx("serverpoints", 600, 1, "i", playerid);
Or, you can use a boolean (true):

pawn Код:
SetTimerEx("serverpoints", 600, true, "i", playerid);