dini_Get problem.
#4

Quote:
Originally Posted by justinnater
Посмотреть сообщение
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
Oh yeah, its been ages since nearly noone uses dini nowadays

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");
Saving the string is just inefficient
Reply


Messages In This Thread
[fixed] dini_Get problem. - by justinnater - 16.10.2012, 15:20
AW: dini_Get problem. - by Nero_3D - 16.10.2012, 15:33
Re: dini_Get problem. - by justinnater - 16.10.2012, 16:56
AW: Re: dini_Get problem. - by Nero_3D - 16.10.2012, 17:26
Re: dini_Get problem. - by justinnater - 16.10.2012, 18:17
AW: Re: dini_Get problem. - by Nero_3D - 16.10.2012, 18:44
Re: dini_Get problem. - by justinnater - 16.10.2012, 19:38
AW: dini_Get problem. - by Nero_3D - 16.10.2012, 20:01
Re: dini_Get problem. - by justinnater - 16.10.2012, 20:08
AW: dini_Get problem. - by Nero_3D - 16.10.2012, 20:59

Forum Jump:


Users browsing this thread: 3 Guest(s)