DINI don't save into %d.ini. Why?
#4

Are you sure the file that your trying to write to exists? Because your only saving to the file there 'if' it exists.
Eg,
pawn Код:
if(dini_Exists(file3))
{
    dini_IntSet(file3,"Model",CarInfo[idx][cModel]);
    dini_FloatSet(file3,"Location_X",CarInfo[idx][cLocationx]);
    dini_FloatSet(file3,"Location_Y",CarInfo[idx][cLocationy]);
    dini_FloatSet(file3,"Location_Z",CarInfo[idx][cLocationz]);
    dini_FloatSet(file3,"Angle",CarInfo[idx][cAngle]);
    dini_IntSet(file3,"Color_1",CarInfo[idx][cColorOne]);
}
else//file doesn't exist
{
    dini_create(file3);//i dont think this is a dini function (i dont use dini)
                      //but you should get the idea
                     
    dini_IntSet(file3,"Model",CarInfo[idx][cModel]);
    //...
}
Reply


Messages In This Thread
DINI don't save into %d.ini. Why? - by Vibrate17 - 09.03.2011, 06:13
Re: DINI don't save into %d.ini. Why? - by iggy1 - 09.03.2011, 07:34
Re: DINI don't save into %d.ini. Why? - by Vibrate17 - 09.03.2011, 07:59
Re: DINI don't save into %d.ini. Why? - by iggy1 - 09.03.2011, 08:29
Re: DINI don't save into %d.ini. Why? - by Vibrate17 - 09.03.2011, 09:12
Re: DINI don't save into %d.ini. Why? - by Vibrate17 - 09.03.2011, 11:26

Forum Jump:


Users browsing this thread: 1 Guest(s)