CBA_fnc_removeWeapon

Description

Remove a weapon.

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
_itemname of the weapon to remove

Returns

true on success, false otherwise

Examples

_result = [player, "Binocular"] call CBA_fnc_removeWeapon

Author

Close