pawn Код:
djAutocommit(false);
format(Vehicle, sizeof(Vehicle), "V_%d/PosX", id);
djUnset(VEHICLES_FILE, Vehicle, Vehicles[id][CarPosX], true);
format(Vehicle, sizeof(Vehicle), "V_%d/PosY", id);
djUnset(VEHICLES_FILE, Vehicle, Vehicles[id][CarPosY], true);
format(Vehicle, sizeof(Vehicle), "V_%d/PosZ", id);
djUnset(VEHICLES_FILE, Vehicle, Vehicles[id][CarPosZ], true);
format(Vehicle, sizeof(Vehicle), "V_%d/ZAngle", id);
djUnset(VEHICLES_FILE, Vehicle, Vehicles[id][CarZAngle], true);
format(Vehicle, sizeof(Vehicle), "V_%d/Model", id);
djUnset(VEHICLES_FILE, Vehicle, Vehicles[id][CarModel], true);
format(Vehicle, sizeof(Vehicle), "V_%d/Col1", id);
djUnset(VEHICLES_FILE, Vehicle, Vehicles[id][CarColour1], true);
format(Vehicle, sizeof(Vehicle), "V_%d/Col2", id);
djUnset(VEHICLES_FILE, Vehicle, Vehicles[id][CarColour2], true);
format(Vehicle, sizeof(Vehicle), "V_%d/Group", id);
djUnset(VEHICLES_FILE, Vehicle, Vehicles[id][CarGroup], true);
djCommit(VEHICLES_FILE);
djAutocommit(true);
CarCount++;