Function to remove specific items from global cargo space. MP synchronized.
_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 globally from the box _success = [myCoolWeaponBox, "Binocular"] call CBA_fnc_removeWeaponCargoGlobal; // remove 2 M16 globally from the box _success = [myCoolWeaponBox, "M16A2", 2] call CBA_fnc_removeWeaponCargoGlobal;
silencer.helling3r 2012-12-22