Help with Clock System ! + 1 Rep !
#9

Write it like this:

Код:
new string[256],stringg[256];
new year,month,day,h,m,s;
getdate(year, month, day), gettime(h, m, s);
format(string, sizeof string, "%02d/%02d/%d", day, month, year);
TextDrawSetString(Date, string);
format(string, sizeof string, "%02d:%02d:%02d",h,m,s);
TextDrawSetString(Time, string);
And if it doesn't (but only then) work, do this:

Код:
format(string, sizeof string, "%02d:%02d:%02d",h+4,m,s);
Reply


Messages In This Thread
Help with Clock System ! + 1 Rep ! - by Sn4ke2 - 01.06.2015, 15:06
AW: Help with Clock System ! + 1 Rep ! - by Kaliber - 01.06.2015, 15:10
Re: Help with Clock System ! + 1 Rep ! - by Sn4ke2 - 01.06.2015, 15:15
Re: Help with Clock System ! + 1 Rep ! - by Sn4ke2 - 01.06.2015, 15:17
AW: Help with Clock System ! + 1 Rep ! - by Kaliber - 01.06.2015, 15:19
Re: Help with Clock System ! + 1 Rep ! - by Sn4ke2 - 01.06.2015, 15:27
AW: Help with Clock System ! + 1 Rep ! - by Kaliber - 01.06.2015, 15:29
Re: Help with Clock System ! + 1 Rep ! - by Sn4ke2 - 01.06.2015, 15:29
AW: Help with Clock System ! + 1 Rep ! - by Kaliber - 01.06.2015, 15:32
Re: Help with Clock System ! + 1 Rep ! - by Sn4ke2 - 01.06.2015, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)