milliseconds and seconds - 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: milliseconds and seconds (
/showthread.php?tid=242096)
milliseconds and seconds -
PinkFloydLover - 19.03.2011
I'm having trouble setting a timer.
First I set a timer so it occurs every 1 minute, and keeps a saved stat on how many minutes you have played in the server. I set it to 60000 milliseconds, and over a coarse of 12 minutes, when I checked my stats it said, "Minutes Played = 1", I then changed it to 6000, over the coarse of 3 minutes it displayed, "Minutes played = 21".
So whats the deal with the milliseconds, what number do I set it to?
Re: milliseconds and seconds -
JaTochNietDan - 19.03.2011
Well there must be a problem with your code, because 60,000 milliseconds is indeed 60 seconds, or 1 minute. Can we see the code?