DataRef( "SelAxis", "sim/joystick/joystick_axis_values", "readonly", 18)DataRef( "FuelSel", "sim/cockpit2/fuel/fuel_tank_selector", "writable")function selector_combustible() if (SelAxis < 0.12499 or SelAxis > 0.97500) then FuelSel = 0 end --OFF if (SelAxis > 0.12500 and SelAxis < 0.47499) then FuelSel = 1 end --LEFT if (SelAxis > 0.47500 and SelAxis < 0.62499) then FuelSel = 4 end --BOTH if (SelAxis > 0.62500 and SelAxis < 0.97499) then FuelSel = 3 end --RIGHTenddo_every_frame("selector_combustible()")