01.06.2015, 15:32
Write it like this:
And if it doesn't (but only then) work, do 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);
Код:
format(string, sizeof string, "%02d:%02d:%02d",h+4,m,s);