CBA_fnc_dropWeapon

Description

Drops 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 that should drop a magazine [Object]
_itemclass name of the weapon to drop [String]

Returns

true if successful, false otherwise Examples:

_result = [player, primaryWeapon player] call CBA_fnc_dropWeapon

Author

Close