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

Returns

true on success, false otherwise <BOOLEAN>

Examples

_result = [player, "Binocular"] call CBA_fnc_removeWeapon

Author

string used by format
Close