{"name":"removeWeaponCargo","operator":null,"title":"removeWeaponCargo","type":"command","url":"https://community.bistudio.com/wiki/removeWeaponCargo","revid":352183,"updated":"2024-02-01T23:25:50Z","groups":["Vehicle Inventory"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.22"}],"since":{"game":"arma3","name":"Arma 3","version":"1.22"},"arma3_since":"1.22","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Remove weapon from the vehicle cargo space.\n\n> [!WARNING]\n> This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.","syntaxes":[{"syntax":"object removeWeaponCargo [weaponID,creatorID]","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":"vehicle or ammo box","types":["Object"],"since":null,"text":"object: Object - vehicle or ammo box"},{"name":"weaponID","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"weaponID: Number"},{"name":"creatorID","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"creatorID: Number"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"object","types":["Object"]},"right":{"text":"[weaponID,creatorID]","types":["Array"]}}],"examples":[{"text":"```sqf\nrearmTruckOne removeWeaponCargo [19, 1];\n```","code":["rearmTruckOne removeWeaponCargo [19, 1];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["removeWeaponAttachmentCargo","weaponAccessoriesCargo"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Vehicle Inventory","Introduced with Arma 3 version 1.22","Scripting Commands"]}