Salut.Am facut un text draw care arata timpul dar nu se updateaza,ce sa fac
function settime() {
new string[256];
new year,month,day,hours,minutes,seconds;
getdate(year, month, day), gettime(hours, minutes, seconds);
format(string, sizeof string, "%s%d.%s%d.%s%d",((day < 10) ? ("0") : ("")), day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year);
TextDrawSetString(DATA, string);
format(string, sizeof(string), "%02d:%02d", hours+1, minutes);
TextDrawSetString(TIMP, string);
SetWorldTime(hours);
TextDrawShowForAll(TIMP);
TextDrawShowForAll(DATA);
return 1;
}
https://imgur.com/sXXBGNl