A function used to return the config of an item.
| _item | Any kind of item, weapon or magazine class name STRING |
| _config | Item config. <CONFIG> |
_config = currentWeapon player call CBA_fnc_getItemConfig; (currentMagazine cameraOn) call CBA_fnc_getItemConfig; (goggles player) call CBA_fnc_getItemConfig;
commy2