Author Topic: is there any way to make the server time based on my cpu clock?  (Read 6952 times)

0 Members and 1 Guest are viewing this topic.

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: is there any way to make the server time based on my cpu clock?
« Reply #15 on: January 13, 2010, 05:38:26 pm »
Glad it worked, No problem ;)


hehe ye it is.

Offline Skirmant

  • Made Man
  • ***
  • Posts: 134
    • View Profile
Re: is there any way to make the server time based on my cpu clock?
« Reply #16 on: January 23, 2010, 03:32:12 pm »
Second - $asctime(ss)
Minute - $asctime(nn)
Hour - $asctime(hh)
Day - $asctime(dd)
Month - $asctime(mm)
Year - $asctime(yy)

By the way you could of just set the real life time rate in config.ini. Then you would only need to set the time by script only once, not every 60 secs.

It seems there's still a bug in VCMP that won't allow you to do that.
« Last Edit: January 23, 2010, 03:35:33 pm by Skirmant »