Jump to content
  • 0

Problema


Shad0wdpbgd

Question

Salut, am o problema.. nu se updateaza timer-ul la secunda, am pus acolo langa ora si secundele, dar nu se updateaza la secunda, se updateaza doar la minut, si nu stiu ce are. Daca ma poate ajuta cineva, va rog.

    gettime(hour,minn,sec);
    gettime(tmphour, tmpminute, tmpsecond);
    getdate(Year, Month, Day);    
    new datestr[128], timestr[32];
    format(datestr,128,"%02d.%02d.%d", Day, Month, Year);
    format(timestr,32,"~w~%02d:%02d:%02d",tmphour,tmpminute,tmpsecond);
    TextDrawSetString(txtTimeDisp,timestr);
    TextDrawSetString(txtDateDisp,datestr);

 

pls help

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Guest
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.