return f;
}
+string strlimitedlen(string input, string truncation, float strip_colors, float limit)
+{
+ if(strlen((strip_colors ? strdecolorize(input) : input)) <= limit)
+ return input;
+ else
+ return strcat(substring(input, 0, (strlen(input) - strlen(truncation))), truncation);
+}
+
#ifdef CSQC
entity ReadCSQCEntity()
{
return findfloat(world, entnum, f);
}
#endif
+