Blockland Forums > Modification Help
getSimTime() vs $Sim::Time
Pages: (1/1)
DYLANzzz:
getSimTime() vs $Sim::Time
Which should I use?
Greek2me:
Use getSimTime().
DYLANzzz:
Is it in milliseconds?
Chrono:
--- Quote from: DYLANzzz on July 07, 2011, 05:55:34 PM ---Is it in milliseconds?
--- End quote ---
Yes.
It's also usually too big.
I usually just do getSimTime()/1000
A server would have to run for 694 days for anything to screw up this way, however, after a certain time, it loses decimal places, so there will likely be problems with delays before it hits said 694 days.
Pages: (1/1)