stock SaveCar(car)
{
new ids[32];
format(ids,sizeof(ids),"cars/%d.ini",car);
new iniOpen = ini_openFile(ids);
ini_setInteger(iniOpen, "cMod", CarInfo[car][cMod]);
ini_setFloat(iniOpen, "cAx", CarInfo[car][cAx]);
ini_setFloat(iniOpen, "cAy", CarInfo[car][cAy]);
ini_setFloat(iniOpen, "cAz", CarInfo[car][cAz]);
ini_setFloat(iniOpen, "cAa", CarInfo[car][cAa]);
ini_setInteger(iniOpen, "cCol1", CarInfo[car][cCol1]);
ini_setInteger(iniOpen, "cCol2", CarInfo[car][cCol2]);
ini_setString(iniOpen, "cOwner", CarInfo[car][cOwner]);
ini_setFloat(iniOpen, "cPx", CarInfo[car][cPx]);
ini_setFloat(iniOpen, "cPy", CarInfo[car][cPy]);
ini_setFloat(iniOpen, "cPz", CarInfo[car][cPz]);
ini_setFloat(iniOpen, "cPa", CarInfo[car][cPa]);
ini_setInteger(iniOpen, "cLock", CarInfo[car][cLock]);
ini_setInteger(iniOpen, "cPrice", CarInfo[car][cPrice]);
ini_setInteger(iniOpen, "cSpoiler", CarInfo[car][cSpoiler]);
ini_setInteger(iniOpen, "cHood", CarInfo[car][cHood]);
ini_setInteger(iniOpen, "cSideskirt", CarInfo[car][cSideskirt]);
ini_setInteger(iniOpen, "cNitro", CarInfo[car][cNitro]);
ini_setInteger(iniOpen, "cLamps", CarInfo[car][cLamps]);
ini_setInteger(iniOpen, "cExhaust", CarInfo[car][cExhaust]);
ini_setInteger(iniOpen, "cWheels", CarInfo[car][cWheels]);
ini_setInteger(iniOpen, "cRoof", CarInfo[car][cRoof]);
ini_setInteger(iniOpen, "cStereo", CarInfo[car][cStereo]);
ini_setInteger(iniOpen, "cHydraulics", CarInfo[car][cHydraulics]);
ini_setInteger(iniOpen, "cBullbar", CarInfo[car][cBullbar]);
ini_setInteger(iniOpen, "cRearBullbars", CarInfo[car][cRearBullbars]);
ini_setInteger(iniOpen, "cFrontSign", CarInfo[car][cFrontSign]);
ini_setInteger(iniOpen, "cFrontBullbars", CarInfo[car][cFrontBullbars]);
ini_setInteger(iniOpen, "cFrontBumper", CarInfo[car][cFrontBumper]);
ini_setInteger(iniOpen, "cRearBumper", CarInfo[car][cRearBumper]);
ini_setInteger(iniOpen, "cVents", CarInfo[car][cVents]);
ini_setInteger(iniOpen, "cPaintJob", CarInfo[car][cPaintJob]);
ini_setString(iniOpen, "cNumber", CarInfo[car][cNumber]);
ini_setInteger(iniOpen, "NeonID", CarInfo[car][NeonID]);
ini_setInteger(iniOpen, "cArest", CarInfo[car][cArest]);
ini_setString(iniOpen, "cPArest", CarInfo[car][cPArest]);
ini_closeFile(iniOpen);
return 1;
}