16.10.2012, 17:26
Quote:
The thing is, i want it to return a string.
And if i'm right, you intended to say dini_Int instead of dini_GetInt. (The string from "factioncolor" = COLOR_WHITE |
So you saved the string "COLOR_WHITE" ?
Although this looks like a define (#define COLOR_WHITE 0xFFFFFFFF)
If thats the cause than, just save it as an int and load it as an int, problem solved
pawn Код:
// saving
dini_SetInt("Factions/Team-CIV.txt","factioncolor", COLOR_WHITE); // if its a define
// loading
new color = dini_Int("Factions/Team-CIV.txt","factioncolor");