Jump to content
  • 0

Nu se updateaza TEXTDRAW

Miki Romania


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);
    return 1; 



Link to comment
Share on other sites

2 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.