01.04.2015, 15:42
If you want to save ARGB in just one key, use sscanf and save it as a string of this format maybe:
For getting the source back use sscanf for unformating!
The str here must be the saved string. And you will get your values.
pawn Код:
new str[15];
format(str, sizeof str, "%d %d %d %d", A, R, G, B);
//save it as a string, wheather using INI or SQL
pawn Код:
sscanf(str, "dddd" A, R, G,B)