11.07.2009, 12:36
Hi, I'm working on a system to read vehicles and classes from a file.
Everything works fine, but I don't know how to read the color code. Because it's not a string and it's not an integer.
This is how my system works:
But what's the function to read a hex code/color code and in which format I have to write it into the file?
Thanks for replies.
Everything works fine, but I don't know how to read the color code. Because it's not a string and it's not an integer.
This is how my system works:
Код:
ClassInfo[idx][Y] = floatstr(arrCoords[...]); // Float ClassInfo[idx][Interior] = strval(arrCoords[...]); // Integer strmid(ClassInfo[idx][Name], arrCoords[...], 0, strlen(arrCoords[...]), 255); // String
Thanks for replies.