[Release]FiveM-FlightInstruments

As a real life pilot of a commercial jetliner, I must say that these are truly fascinating. These instruments are so similar to that of my real aircraft that I am fully immersed in the flight while I am in game. I feel like I am flying my own Airbus A699 when looking at these instruments. They are precise and give all of the absolutely necessary information any pilot would desperately need while operating an aircraft.

This is a definite 7/5, and I would download every time.

yeeeeeeeaaaahh what part of this is supposed to be true?

love it, works great! thank you!

wdym? This is a good resource

This is a great release

how do i get this to work for helicopters

1 Like

i got it thanks any way

1 Like

Iā€™m trying to edit your script to where it will only show the height above the ground instead of sea level. New to scripting what am i doing wrong. Right now it says "unexpected symbol near ā€œ0ā€

function DrawFlightInstruments()
local speed = GetEntitySpeed(GetVehiclePedIsIn(PlayerPedId())) * 1.943844492
local altitude = GetEntityHeightAboveGround(PlayerPedId()).z 0
local heading = GetEntityHeading(GetVehiclePedIsIn(PlayerPedId()))
local verticalspeed = GetEntityVelocity(GetVehiclePedIsIn(PlayerPedId())).z * 196.850394
if speed < 40 then speed = 20 end
if speed > 200 then speed = 200 end
if altitude<0 then altitude = 0 end
if verticalspeed>2000 then verticalspeed = 2000 elseif verticalspeed < -2000 then verticalspeed = -2000 end
local flightstate

1 Like
local altitude = GetEntityHeightAboveGround(PlayerPedId()).z 0

change it to

local altitude = GetEntityHeightAboveGround(PlayerPedId()) * 3.281
1 Like