5 float stringwidth_colors(string s, vector theSize)
7 return stringwidth(s, true, theSize);
10 float stringwidth_nocolors(string s, vector theSize)
12 return stringwidth(s, false, theSize);
19 string seconds_tostring(float sec)
22 minutes = floor(sec / 60);
25 return sprintf("%d:%02d", minutes, sec);
28 int ColorTranslateMode;
30 string ColorTranslateRGB(string s)
32 if(ColorTranslateMode & 1)
33 return strdecolorize(s);