05.02.2019, 15:51
You should write it like this:
Much cleaner Code and there is always a 0 before
PHP код:
forward settime();
public settime()
{
new hour,minute,second,string[16];
gettime(hour,minute,second),
format(string,sizeof(string),"%d:%02d:%02d",hour,minute,second),
TextDrawSetString(Clock,string),
SetWorldTime(hour);
return 1;
}