Re: [FS]WeekDay Clock[RealTime] -
serj009 - 16.02.2008
o wow this is really cool. thx! ^_^
Re: [FS]WeekDay Clock[RealTime] -
Abhishek - 16.02.2008
Quote:
Originally Posted by jonesy
ok i added a very simple weather change system to it
updated first post
|
try changing ur callback to:
public settime(){
new hour,minute,second;
new string[256];
gettime(hour,minute,second);
if (minute <= 9){format(string,25,"%d:0%d",hour,minute);}
else {format(string,25,"%d:%d",hour,minute);}
TextDrawSetString(Clock,string);
SetWorldTime(hour);
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
SetPlayerTime(i,hour,00);
}
}
new day, month, year;
new weekday;
getdate(day, month, year);
weekday = GetWeekdayNum(day, month, year);
if(weekday == 1){TextDrawSetString(WeekDayg,"Monday");}
if(weekday == 2){TextDrawSetString(WeekDayg,"Tuesday");}
if(weekday == 3){TextDrawSetString(WeekDayg,"Wednesday");}
if(weekday == 4){TextDrawSetString(WeekDayg,"Thursday");}
if(weekday == 5){TextDrawSetString(WeekDayg,"Friday");}
if(weekday == 6){TextDrawSetString(WeekDayg,"Saturday");}
if(weekday == 7){TextDrawSetString(WeekDayg,"Sunday");}
return 1;
}
Re: [FS]WeekDay Clock[RealTime] -
jonesy - 16.02.2008
why? it works fine as it is... cos it has
Re: [FS]WeekDay Clock[RealTime] -
rayne - 16.02.2008
today on Sunday and Monday the displaying!
Re: [FS]WeekDay Clock[RealTime] -
Rks25 - 16.02.2008
Jonesy, when it just went 00.00 , the textdraw started to say it's monday in stead of sundaY??
plz fix!!
Rksss
Re: [FS]WeekDay Clock[RealTime] -
Pure_Devil - 16.02.2008
Cool
Re: [FS]WeekDay Clock[RealTime] -
Flame - 17.02.2008
Quote:
Originally Posted by rayne
today on Sunday and Monday the displaying!
|
Is with me, too. Sunday will not be shown After Saturday comes Monday and Sunday will be skipped
//EDIT: Another bug. If I start my server and can run, then disappears hours after more than 6 hours duration server
Re: [FS]WeekDay Clock[RealTime] -
Rks25 - 17.02.2008
Jonesy, a bug-free release is needed a.t.m. !!!
Plz fix.
Rksss
Re: [FS]WeekDay Clock[RealTime] -
Flame - 17.02.2008
So, the clock is there, but I think it is not Compatibel to other TextDraws. See Picture
[img width=1024 height=195]http://s5.directupload.net/images/080217/3ihdyipo.jpg[/img]
Re: [FS]WeekDay Clock[RealTime] -
jonesy - 17.02.2008
sorry for any bugs i will fix them, also flame it works ok with my other textdraws....
Re: [FS]WeekDay Clock[RealTime] -
1111 - 07.11.2008
weather change??
coorl
Re: [FS]WeekDay Clock[RealTime] -
fAbLo - 08.11.2008
i canґt change the time, please help me^^
Re: [FS]WeekDay Clock[RealTime] -
MenaceX^ - 08.11.2008
Nice
Re: [FS]WeekDay Clock[RealTime] -
Topher10 - 26.11.2008
Okay, it's been 3 months since my last post. Unfortunately I no longer have this filterscript on my computer. I'm posting because now even the link provided by Seif_ doesn't work.
Can anyone post a mirror?
Re: [FS]WeekDay Clock[RealTime] -
c++rulez - 11.07.2009
yeh this is kool well done
Re: [FS]WeekDay Clock[RealTime] -
Kar - 18.06.2010
how to make it1 hour = 1 min