17.05.2010, 21:06
Code:
seconds += 1; if(seconds == 60) { minutes++; seconds = 0; } if(minutes == 24) { minutes = 0; } SetWorldTime(minutes); new string[128]; if(seconds < 10) { format(string,sizeof(string),"%i:0%i",minutes,seconds); TextDrawSetString(Textdraw1,string); } else { format(string,sizeof(string),"%i:%i",minutes,seconds); TextDrawSetString(Textdraw1,string); } return 1;
Help please.