botanist Posted October 20, 2010 Posted October 20, 2010 That will get the local time of the client, isn't it? Or does it gets the servertime? An easier question isn't possible lol Handling editor | Modloader
dzek (varez) Posted October 20, 2010 Posted October 20, 2010 getRealTime to get server time getTickCount to get client time (or server time on server side). getTickCount is only integer timestamp and you have to convert it to get year/month/dat/hours/minutes/seconds. edit: more about timestamps you can find on google ofc Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
eAi Posted October 20, 2010 Posted October 20, 2010 getTickCount gives you the number of seconds the system has been running for.
dzek (varez) Posted October 20, 2010 Posted October 20, 2010 whoops i misreaded something.. sorry.. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now