dofile(LockOn_Options.common_script_path..'Radio.lua') local gettext = require("i_18n") _ = gettext.translate presets = {} if get_aircraft_mission_data ~= nil then local radio_from_mission = get_aircraft_mission_data("Radio") local uvhf_radio = radio_from_mission[1] if uvhf_radio then for i = 1,26 do presets[i] = (uvhf_radio.channels[i] or 225 ) * 1e6 end end end my_presets = { [1] = 255.500, [2] = 255.000, [3] = 250.000, [4] = 149.700, [5] = 127.500, [6] = 251.500, } for i = 1,6 do presets[i] = my_presets[i] * 1e6 end need_to_be_closed = true