set timer ex help
#1

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??
Reply
#2

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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)