Fixed it? Really??
At least let others know how you "fixed it".
Here is an example of an easier way to keep custom crates from being cleaned up.
ex1. Constructon_Crate.sqf
//___________________________start__________________________________
if (isServer) then {
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["USOrdnanceBox", [3148.31,7911.81,0.139923], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir 62.275021;
_this setPos [3148.31,7911.81,0.139923];
_this setVariable ["permaloot",true];
//Clear Cargo
clearweaponcargoGlobal _this;
clearmagazinecargoGlobal _this;
//Add Cargo
_this addWeaponCargoGlobal ["ItemEtool",2];
_this addWeaponCargoGlobal ["ItemToolbox",2];
_this addWeaponCargoGlobal ["ItemSledge",1];
_this addWeaponCargoGlobal ["NVGoggles",2];
_this addWeaponCargoGlobal ["ItemCrowbar",2];
_this addWeaponCargoGlobal ["ChainSawR",1];
_this addmagazineCargoGlobal ["ItemFireBarrel_kit",5];
_this addmagazineCargoGlobal ["bulk_ItemTankTrap",2];
_this addmagazineCargoGlobal ["bulk_ItemWire",2];
_this addmagazineCargoGlobal ["bulk_ItemSandbag",2];
_this addmagazineCargoGlobal ["bulk_PartGeneric",2];
_this addmagazineCargoGlobal ["PartPlankPack",10];
_this addmagazineCargoGlobal ["PartPlywoodPack",10];
_this addmagazineCargoGlobal ["CinderBlocks",91];
_this addmagazineCargoGlobal ["MortarBucket",31];
_this addmagazineCargoGlobal ["ItemFuelBarrel",10];
_this addmagazineCargoGlobal ["metal_floor_kit",40];
_this addmagazineCargoGlobal ["cinder_wall_kit",91];
_this addmagazineCargoGlobal ["cinder_garage_kit",20];
_this addmagazineCargoGlobal ["cinder_door_kit",20];
_this addmagazineCargoGlobal ["metal_panel_kit",50];
_this addmagazineCargoGlobal ["ItemComboLock",15];
_this addmagazineCargoGlobal ["ItemWoodStairs",15];
_this addmagazineCargoGlobal ["ItemWoodStairsSupport",15];
_this addmagazineCargoGlobal ["deer_stand_kit",4];
_this addmagazineCargoGlobal ["sun_shade_kit",4];
_this addmagazineCargoGlobal ["storage_shed_kit",2];
_this addmagazineCargoGlobal ["forest_large_net_kit",3];
_this addmagazineCargoGlobal ["light_pole_kit",3];
_this addmagazineCargoGlobal ["ItemWoodLadder",5];
_this setPos [3148.31,7911.81,0.139923];
};
};
//______________________________end________________
Line 11 sets variable "permaloot"
_this setVariable ["permaloot",true];
Hope this helps
STENCH