Dini why dont create?
#4

I have 2gms, on one gm work, on secon dont :P
Quote:

#define FUEL_STATION_FILE_PATH "NMW/Benziski/Benziski.ini"

SaveFuelStation(stationid)
{
new filestring[512];
if(!dini_Exists(FUEL_STATION_FILE_PATH)) dini_Create(FUEL_STATION_FILE_PATH);
format(filestring, sizeof(filestring), "%d,%.3f,%.3f,%.3f,%f\n",
FuelStationCreated[stationid],
FuelStationPos[stationid][0],
FuelStationPos[stationid][1],
FuelStationPos[stationid][2],
FuelStationTank[stationid]
);
new stationids[5];
valstr(stationids,stationid);
dini_Set(FUEL_STATION_FILE_PATH,stationids,filestr ing);
}

Reply


Messages In This Thread
Dini why dont create? - by Joco5 - 16.01.2013, 22:11
Re: Dini why dont create? - by Rsslacker - 16.01.2013, 22:15
Re: Dini why dont create? - by Travis The Tiger - 16.01.2013, 22:16
Re: Dini why dont create? - by Joco5 - 16.01.2013, 22:20
Re: Dini why dont create? - by I3Psychedelic - 17.01.2013, 01:00
Re: Dini why dont create? - by CodyCummings - 17.01.2013, 01:12
Re: Dini why dont create? - by Don21x - 17.01.2013, 01:20

Forum Jump:


Users browsing this thread: 3 Guest(s)