Add a weapon to a unit. Unit has to be local.
Function which verifies existence of _item and _unit, returns false in case of trouble, or when able to add _item to _unit true in case of success.
_unit | the unit <OBJECT> |
_item | name of the weapon to add STRING |
_verify | if true, then put item on the ground if it can’t be added <BOOLEAN> |
true on success, false otherwise <BOOLEAN>
_result = [player, "Binocular"] call CBA_fnc_addWeapon