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.
  • Similar Content

    • By seek nephrite
      Salut, imi explica cineva cum fac o ruleta gen cu textdraw-uri cum e pe ruby nephrite? Adica sa arate numele si textdraw ul fiecarui obiect pe care il pun eu in ruleta, etc
    • By EclyseRPGADV
      Salut asta este primul meu textdraw postat.
      Sper sa va placa!

    • By salexm93
      Poate nu inteleg eu bine , pe wiki scrie max 2048 globale si 256 per player .
      Sa luam cazul ipotetic al unui server cu 1000 de playeri online .
      new Text:xpbar[MAX_PLAYERS]; new Text:playername[MAX_PLAYERS]; Aici vor fi 2000 create ? Adica destul de aproape de limita
      new PlayerText:xpbar[MAX_PLAYERS]; new PlayerText:playername[MAX_PLAYERS]; Iar Aici vor fi doar 2 ?
      Totodata , PlayerTextDrawDestroy ,la onplayerdisconnect ?
    • By IosifR
      re astazi am sa va prezint 'buletinul' care l am facut cu nikk's textdraw editor
      Am stat vreo 10m sa-l fac
      Zic ca-i bun pt un sv mai roleplay
    • By Serban
      Salutare, astazi vreau sa va impartesesc textdraw-ul de licente facut de mine.
      Sursa cod: Aici!
      Poze: Aici!
      Va salut si spor la programat! (Daca m-ai programeaza cineva..)
  • Recently Browsing   0 members

    No registered users viewing this page.

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