Code: Select all
if has_feature("FS2020") then
fs2020_variable_subscribe("ELECTRICAL MASTER BATTERY", "Bool",
"FUEL TOTAL CAPACITY", "Gallons",
"FUEL LEFT QUANTITY", "Gallons",
"FUEL RIGHT QUANTITY", "Gallons",
"GENERAL ENG FUEL PRESSURE:1","Psi",
set_tank_limits_fsx)
end
[EDIT] A precision : once this part commented out, the instrument will run perfectly