pawn Код:
new INI: file2;
format(file2, sizeof(file2),"LARP/Vehicles/%d.ini",idx);
if(fexist(file2))
{
INI_WriteInt(file2,"Model",CarInfo[idx][cModel]);
INI_WriteFloat(file2,"Location_X",CarInfo[idx][cLocationx]);
INI_WriteFloat(file2,"Location_Y",CarInfo[idx][cLocationy]);
INI_WriteFloat(file2,"Location_Z",CarInfo[idx][cLocationz]);
INI_WriteFloat(file2,"Angle",CarInfo[idx][cAngle]);
INI_WriteInt(file2,"Color_1",CarInfo[idx][cColorOne]);
INI_WriteInt(file2,"Color_2",CarInfo[idx][cColorTwo]);
INI_WriteInt(file2,"Owner",CarInfo[idx][cOwner]);
INI_WriteInt(file2,"Owned",CarInfo[idx][cOwned]);
INI_WriteInt(file2,"Locked",CarInfo[idx][cLock]);
INI_WriteInt(file2,"Paintjob",CarInfo[idx][cPaintjob]);
INI_WriteInt(file2,"VirtualWorld",CarInfo[idx][cVirWorld]);
INI_WriteInt(file2,"Component0",CarInfo[idx][cComponent0]);
INI_WriteInt(file2,"Component1",CarInfo[idx][cComponent1]);
INI_WriteInt(file2,"Component2",CarInfo[idx][cComponent2]);
INI_WriteInt(file2,"Component3",CarInfo[idx][cComponent3]);
INI_WriteInt(file2,"Component4",CarInfo[idx][cComponent4]);
INI_WriteInt(file2,"Component5",CarInfo[idx][cComponent5]);
INI_WriteInt(file2,"Component6",CarInfo[idx][cComponent6]);
INI_WriteInt(file2,"Component7",CarInfo[idx][cComponent7]);
INI_WriteInt(file2,"Component8",CarInfo[idx][cComponent8]);
INI_WriteInt(file2,"Component9",CarInfo[idx][cComponent9]);
INI_WriteInt(file2,"Component10",CarInfo[idx][cComponent10]);
INI_WriteInt(file2,"Component11",CarInfo[idx][cComponent11]);
INI_WriteInt(file2,"Component12",CarInfo[idx][cComponent12]);
INI_WriteInt(file2,"Component13",CarInfo[idx][cComponent13]);
INI_WriteInt(file2,"SecurityCode",CarInfo[idx][cCode]);