02.01.2013, 23:48
You can just do this:
Because the hex value is handled the same as an integer. It's not like a string. (dini_Set and dini_Get are for strings.)
Код:
// Loading the color from file: PlayerInfo[playerid][pIconColour] = dini_Int(file, "pIconColour"); // Saving the color in a file: dini_IntSet(file, "pIconColour", PlayerInfo[playerid][pIconColour]);