Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: [DGC]Doomer on January 10, 2010, 07:17:21 am
-
is there any way to make the server time based on my cpu clock?
if pls , give me script + aliases if not fbs
-
the time is based on ur cpu clock if im right
at least it is for me...
-
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 :).
-
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
-
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
-
there is no script for that because its already set the the time you see on your taskbar lol
-
well no, it isnt ROFL
-
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
-
yeah thats what i meant
-
aah now i see.
well
You will need a timer for that
-
Not !time. He wants the time in GAME HUD where is hour, weapon, HP etc... :p
-
>< 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.
-
yay now you understood it ^^!
alias timecheck {
vcmp.sethour $1 $time
vcmp.setminute $1 $time
timer 1 60 timecheck
}
is that right?
-
not really.
You should use:
alias timecheck {
vcmp.sethour $1 $asctime(hh)
vcmp.setminute $1 $asctime(nn)
timer 1 60 timecheck
}
-
worked, thanks
p.s. i like ur signature pic (GTA4 right?)
-
Glad it worked, No problem ;)
hehe ye it is.
-
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.