28.01.2019, 16:05
eu tava olhando aki e achei isso .
PHP код:
stock AtualizarRelogio()
{
new string[15],hours,minutes,seconds;
gettime(hours, minutes, seconds);
format(string, sizeof string, "%s%d:%s%d", (hours < 10) ? ("0") : (""), hours, (minutes < 10) ? ("0") : (""), minutes);
TextDrawSetString(Textdraw3, string);
return 1;
}