• Welcome to Vice City Multiplayer.
 

!time

Started by TanaX01, July 20, 2008, 12:24:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TanaX01

Hello  ;)

Please Help My in commands !time in game and IRC.

my code in irc  :-\
elseif ($1 == !time) vcmp.adminchat GMT + 1 Time: $asctime($calc($gmt + 3600),HH:mm)

please help in add new Time GMT

Global Time: GMT:[ 00:18 ] - EU:[ 01:18 ] - Chile:[ 11:18 ] - US:[ 19:18 ]  ;)

Force

All you need to do is:


vcmp.adminchat GMT + 1 Time: $time


That's if you are running the scripts from your computer ;)

TanaX01

Quote from: [SDT]F_T_F0RC3 on July 20, 2008, 09:42:07 AM
All you need to do is:


vcmp.adminchat GMT + 1 Time: $time


That's if you are running the scripts from your computer ;)

nah.. Bakasan Please Help my

K.I.S.S

#3
Based on Bakasan's version,

time's referenced from http://www.timeanddate.com
I took the capital for each location

EU, Spain - Madrid, GMT + 1 Hour
Chile - Santiago, GMT -4 hours
USA, washington Dc, GMT -5 hours


alias vcmp.time {
   vcmp.adminchat Global Time: GMT: $+($chr(91),$asctime($calc($gmt + 0),HH:nn),$chr(93)) - EU: $+($chr(91),$asctime($calc($gmt + 3600),HH:nn),$chr(93)) - Chile: $+($chr(91),$asctime($calc($gmt - 18000),HH:nn),$chr(93)) - US: $+($chr(91),$asctime($calc($gmt - 21600),HH:nn),$chr(93))
}



elseif ($1 == !time) $vcmp.time


not tested!!!

TanaX01

Quote from: K.I.S.S on July 21, 2008, 08:15:51 PM
Based on Bakasan's version,

time's referenced from http://www.timeanddate.com
I took the capital for each location

EU, Spain - Madrid, GMT + 1 Hour
Chile - Santiago, GMT -4 hours
USA, washington Dc, GMT -5 hours


alias vcmp.time {
   vcmp.adminchat Global Time: GMT: $+($chr(91),$asctime($calc($gmt + 0),HH:nn),$chr(93)) - EU: $+($chr(91),$asctime($calc($gmt + 3600),HH:nn),$chr(93)) - Chile: $+($chr(91),$asctime($calc($gmt - 18000),HH:nn),$chr(93)) - US: $+($chr(91),$asctime($calc($gmt - 21600),HH:nn),$chr(93))
}



elseif ($1 == !time) $vcmp.time


not tested!!!

Cool Thx Friend Nice Aport :P