28.12.2010, 03:28
Is there any function for getting the name of a color id for example...
format(color, sizeof(color), GetColorName(Vehicle[vehcolor1]));
The color ID for vehcolor1 being 0 and that would translate to Black as a string.
I know how this can be done and it would be tedious work to do and I looked around and cant seem to find anything on it. If anything I'll do it myself but would like to save the time to invest into more important features.
format(color, sizeof(color), GetColorName(Vehicle[vehcolor1]));
The color ID for vehcolor1 being 0 and that would translate to Black as a string.
I know how this can be done and it would be tedious work to do and I looked around and cant seem to find anything on it. If anything I'll do it myself but would like to save the time to invest into more important features.