CBA_fnc_selectWeapon

Description

Selects weapon, if the player has the weapon, including correctly selecting a muzzle, if any.

Parameters

_unitUnit object to perform function on [Object]
_weapWeapon to select [String]

Returns

Success or Failed [Boolean]

Examples

_result = [player, secondaryWeapon player] call CBA_fnc_selectWeapon

Author

Sickboy

Close