SA-MP Forums Archive
GetColorName - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetColorName (/showthread.php?tid=203817)



GetColorName - MisterTickle - 28.12.2010

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.


Re: GetColorName - Gavibro - 28.12.2010

http://forum.sa-mp.com/showpost.php?...postcount=1484 ....


Re: GetColorName - MisterTickle - 28.12.2010

yeah....well....mister....sir....thats....kind.... of....not....whats....i....asked....for....but
...thanks....for
....the....arrogant
....dots