CBA_fnc_removeItem

Description

Remove an item.

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 item to remove STRING

Returns

true on success, false otherwise <BOOLEAN>

Examples

_result = [player, "FirstAidKit"] call CBA_fnc_removeItem

Author

string used by format
Close