07.02.2013, 21:19
let me explain,
time going like this > 2:01 >2:02 >2:03 > 2:04 >2:05 > 2:06 > 2:07 >2:9 > 2:10 > 2:11 >2:12 > 2:13 > 2:14 >2:15 > 2:16 > 2:17 >2:18 > 2:20 > 2:21 >2:22 >
note it on 2:9 they ignore 2:08 and 2:19 this is example but they are ignoring 1 number alwayz in count.
and i don't understand you're code like this?
time going like this > 2:01 >2:02 >2:03 > 2:04 >2:05 > 2:06 > 2:07 >2:9 > 2:10 > 2:11 >2:12 > 2:13 > 2:14 >2:15 > 2:16 > 2:17 >2:18 > 2:20 > 2:21 >2:22 >
note it on 2:9 they ignore 2:08 and 2:19 this is example but they are ignoring 1 number alwayz in count.
and i don't understand you're code like this?
PHP код:
public RealHourUpdate()
{
m++;
m %= 60;
h = (sc / 60) % 24;
new h, m, sc;
gettime(h, m, sc);
if(WorldTime != h)
{
WorldTime = h;
SetWorldTime(WorldTime);
}
if(0 == h && 0 == m && 0 == sc) ++T_DAY %= 7;
new string[16];
switch(T_DAY) {
case 0: strcat(string, "Monday");
case 1: strcat(string, "Tuesday");
case 2: strcat(string, "Wednesday");
case 3: strcat(string, "Thursday");
case 4: strcat(string, "Friday");
case 5: strcat(string, "Saturday");
case 6: strcat(string, "Sunday");
}
TextDrawSetString(DAN, string);
new result[40];
format(result, sizeof(result), "worldtime %s %02d:%02d",string, m, sc);
SendRconCommand(result);
format(string,sizeof(string),"%02d:%02d", m, sc);
TextDrawSetString(Clock, string);
}