• Welcome to Vice City Multiplayer.
 

is there any way to make the server time based on my cpu clock?

Started by [DGC]Doomer, January 10, 2010, 05:17:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

[DGC]Doomer

is there any way to make the server time based on my cpu clock?
if pls , give me script + aliases if not fbs

thijn

the time is based on ur cpu clock if im right

at least it is for me...


[AoD]NC

My translation:
He wants to set on the server the same time like the PC time.

Like auto-time-sync-from-current-time-to-server-time :).

thijn

well if thats is indeed what hes asking, its a dumb question because its already set to the "CPU" time. Where does mIRC else gets his time from hehe


[DGC]Doomer

well i meant that , i want a script which changes the time on the server to that time which i can see on the taskbar



english sux

thijn

there is no script for that because its already set the the time you see on your taskbar lol



[AoD]NC

Thijn...

If i have now 12:00 in the taskbar, i want 12:00 on game server. If i have now 20:34, in game will be also 20:34.

:p


thijn

aah now i see.
well
You will need a timer for that


[AoD]NC

Not !time. He wants the time in GAME HUD where is hour, weapon, HP etc... :p

Force

>< He means the clock for Vice City its self (on the HUD)

The simple solution would be to run a timer every minute once the script starts and set the time to be the current $time.

[DGC]Doomer

yay now you understood it ^^!


alias timecheck {
  vcmp.sethour $1 $time
  vcmp.setminute $1 $time
  timer 1 60 timecheck
}


is that right?

thijn

not really.
You should use:

alias timecheck {
  vcmp.sethour $1 $asctime(hh)
  vcmp.setminute $1 $asctime(nn)
  timer 1 60 timecheck
}


[DGC]Doomer

worked, thanks

p.s. i like ur signature pic (GTA4 right?)