Function to remove specific items from local cargo space.
_unit | the vehicle providing cargo space [Object] |
_item | classname of item to remove [String] |
_count | number of items to remove [Number] (Default: 1) |
true on success, false otherwise (error or no such item in cargo)
// remove 1 Binocular locally from the box _success = [myCoolWeaponBox, "Binocular"] call CBA_fnc_removeWeaponCargo; // remove 2 M16A2 locally from the box _success = [myCoolWeaponBox, "M16A2", 2] call CBA_fnc_removeWeaponCargo;
silencer.helling3r 2012-12-22