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[2] if uvhf_radio then for i = 1,26 do presets[i] = (uvhf_radio.channels[i] or 131 ) * 1e6 end end end my_presets = { [1] = 118.075, [2] = 118.150, [3] = 118.225, [4] = 118.300, [5] = 118.375, [6] = 118.425, [7] = 118.525, [8] = 118.575, [9] = 112.500, [10] = 113.500, [11] = 115.500, [12] = 114.500, [13] = 117.500, [14] = 150.000, [15] = 123.500, [16] = 141.000, [17] = 116.500, [18] = 118.500, } for i = 1,18 do presets[i] = my_presets[i] * 1e6 end need_to_be_closed = true