CBA_fnc_addMagazine

Description

Add magazine to a vehicle/unit.

The function also verifies existence of _item and _unit, returns false in case of trouble, or true when able to add _item to _unit.

Parameters

_unitthe unit or vehicle
_itemname of the magazine to add

Returns

true on success, false otherwise

Examples

_result = [player, "SmokeShell"] call CBA_fnc_addMagazine

Author

Close