SA-MP Forums Archive
[HELP] 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: [HELP] Timer (/showthread.php?tid=250033)



[HELP] Timer - Fredden1993 - 21.04.2011

Hello,

How do I make this timer update every hour? Now I think it's updating every second or something?

pawn Код:
UpdateTime();
SetTimer("UpdateTime",1000 * 60,1);
Thanks


Re: [HELP] Timer - Vince - 21.04.2011

Код:
1000 * 60 * 60
1000 milliseconds in one second. 60 seconds in one minute. 60 minutes in one hour.


Re: [SOLVED] Timer - Fredden1993 - 21.04.2011

Quote:
Originally Posted by Vince
Посмотреть сообщение
Код:
1000 * 60 * 60
1000 milliseconds in one second. 60 seconds in one minute. 60 minutes in one hour.
Thanks!