Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: vcmptr on May 31, 2015, 12:46 PM

Title: How Can I Get Microsecond
Post by: vcmptr on May 31, 2015, 12:46 PM
How can I get microsecond with Squirrel?
Like this: 1433076209 0.35124300
Title: Re: How Can I Get Microsecond
Post by: . on May 31, 2015, 01:01 PM
Microseconds since when? That could be an issue since it might need large numbers and on a 32bit system there might not be enough if you want time() as microseconds.

If you want since the start of the program then probably (not):
print(clock() * 1000);
Title: Re: How Can I Get Microsecond
Post by: vcmptr on May 31, 2015, 01:35 PM
Yes, I meant this. Thanks. :)