CBA_fnc_getWeaponModes

Description

Gets the list of possible modes for a weapon.

Parameters

_weaponclass name of the weapon to examine STRING
_includeHiddentrue - report AI only modes, false - report player modes (default: false) <BOOLEAN>

Returns

_modesAll weapon mode names ARRAY

Examples

_modes = "M4A1_RCO_GL" call CBA_fnc_getWeaponModes
-> ["M4_ACOG_Muzzle", "M203Muzzle"]

Author

commy2

string used by format
Array to read from [Array]
Close