Checks if unit or object has enough free space in inventory to store item.
Doesn’t take current unit load into account unlike canAdd command.
_unit | Unit <OBJECT> |
_item | Item to store STRING |
_count | Item count <NUMBER> (Default: 1) |
_checkUniform | Check space in uniform <BOOLEAN> (Default: true) |
_checkVest | Check space in vest <BOOLEAN> (Default: true) |
_checkBackpack | Check space in backpack <BOOLEAN> (Default: true) |
True if unit or object has free space, false otherwise <BOOLEAN>
[player, "acc_flashlight"] call CBA_fnc_canAddItem [player, "30Rnd_556x45_Stanag", 7, false, true, false] call CBA_fnc_canAddItem
Dystopian