SetPlayerColour loading variable problem
#4

You can just do this:
Код:
// 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]);
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.)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)