_colorArray = M_CONFIG(getArray,"LifeCfgVehicles",_classNameLife,"textures");
systemChat format ["Vehicle class : %1",_classNameLife];
systemChat format ["Count color : %1",(count _colorArray)];
systemChat format ["Shop flag : %1",(life_veh_shop select 2)];
{
_flag = (_x select 1);
_textureName = (_x select 0);
if ((life_veh_shop select 2) isEqualTo _flag) then {
_x params ["_texture"];
private _toShow = [_x] call life_fnc_levelCheck;
if (_toShow) then {
_ctrl lbAdd _textureName;
_ctrl lbSetValue [(lbSize _ctrl)-1,_x];
systemChat "OK";
} else {
systemChat format ["Not passed check : %1 | %2",_x,(_x select (count _x - 1))];
};
} else {
systemChat format ["Not passed flag : %1",_flag];
};
} forEach _colorArray;