CBA_fnc_getItemConfig

Description

A function used to return the config of an item.

Parameters

_weaponAny kind of item, weapon or magazine class name STRING

Returns

_configItem config.  <CONFIG>

Example

_config = currentWeapon player call CBA_fnc_getItemConfig;
(currentMagazine cameraOn) call CBA_fnc_getItemConfig;
(goggles player) call CBA_fnc_getItemConfig;

Author

commy2

string used by format
Close