{"name":"removeWeaponCargo","title":"removeWeaponCargo","type":"command","url":"https://community.bistudio.com/wiki/removeWeaponCargo","revid":352183,"updated":"2024-02-01T23:25:50Z","groups":["Vehicle Inventory"],"status":"ok","games":{"arma3":"1.22"},"since":"arma3 1.22","arma3_since":"1.22","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]","params":[{"name":"object","type":"Object","description":"vehicle or ammo box","type_expr":"Object"},{"name":"weaponID","type":"Number","type_expr":"Number"},{"name":"creatorID","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"object"},"right":{"text":"[weaponID,creatorID]"}}],"examples":[{"code":["rearmTruckOne removeWeaponCargo [19, 1];"]}],"see_also":["removeWeaponAttachmentCargo","weaponAccessoriesCargo"]}