Add magazine(s) to a vehicle’s cargo. MP synchronized.
Function which verifies existence of _item and _unit, returns false in case of trouble, or when able to add _item to _unit true in case of success.
_unit | the vehicle [Object] |
_item | name of magazine to [String] |
_count | number of magazines to add [Number] (Default: 1) |
true on success, false otherwise
// Add one mine to the cargo of SomeTruck _result = [ SomeTruck, "Mine"] call CBA_fnc_AddMagazineCargoGlobal // Add three smoke cans to MyCar _result = [ MyCar, "SmokeShell", 3] call CBA_fnc_AddMagazineCargoGlobal
Sickboy (addMagazineCargo)