26.10.2013, 17:12
It will just create a new 3D text label every second without destroying the older ones. Also it's wrong to use gettime() after format().
Actually you don't need ternary operators at all to generate this string. format() allows you to limit the amount of characters you want to use to display numbers as a string.
By the way
is too huge and just wastes useful memory...
Actually you don't need ternary operators at all to generate this string. format() allows you to limit the amount of characters you want to use to display numbers as a string.
pawn Код:
format(string, sizeof string, "{00C0FF}%02d {F300FF}: {FFAF00}%02d {F300FF}: {F81414}%02d", hours, minutes, seconds);
pawn Код:
string[512]