Hotfixx 1 Posted July 27, 2017 I am adding items to a crate but it doesn't seem to be working? I think I'm doing thing's right? https://hastebin.com/sufozijonu.lua Anybody got any input why this isn't working? Share this post Link to post Share on other sites
fn_Quiksilver 1636 Posted July 27, 2017 The syntax for your addXCargo commands was incorrect. Here is a tweaked copy "BlackhawkWreck" createVehicle getMarkerPos "heliCrash2"; _heliCrashLoot2 = "DSR_Object_Storage_Large" createVehicle (getMarkerPos "heliCrash2"); "ModuleEffectsSmoke_F" createUnit [getMarkerPos "heliCrash2",(createGroup [sideLogic,false])]; { _heliCrashLoot2 addMagazineCargo _x; } forEach [ ["rhs_rpg7_PG7VL_mag",3], ["Exile_Item_InstaDoc",6], ["rhs_10Rnd_762x54mmR_7N1",3] ]; { _heliCrashLoot2 addWeaponCargo _x; } forEach [ ["rhs_weap_rpg7",1], ["rhs_weap_svdp",1] ]; I'm assuming "BlackhawkWreck" is the classname of the wrecked prop/vehicle you are using. Share this post Link to post Share on other sites