CBA_fnc_consumeItem

Description

Removes item from inventory.

Parameters

_unitUnit that consumeds item <OBJECT>
_itemItem classname STRING
_slotInventory slot of the item STRING
_containerContainer that has the item <OBJECT>

Returns

true if successful, false otherwise <BOOLEAN>

Examples

[player, headgear player, "HEADGEAR"] call CBA_fnc_consumeItem;

Author

commy2

string used by format
Close