CBA_fnc_dropMagazine

Description

Drop a magazine.

Function which verifies existence of _item and _unit, returns false in case of trouble, or when able to remove _item from _unit true in case of success.

Parameters

_unitthe unit that should drop a magazine [Object]
_itemclass name of the magazine to drop [String]

Returns

true if successful, false otherwise

Examples

_result = [player, "SmokeShell"] call CBA_fnc_dropMagazine

Author

Close