Vehicle Temperature Natives

Native Bug

Prod Build and Latest FX

When using any of these natives

GetVehicleDashboardOilTemp()
GetVehicleDashboardTemp()
GetVehicleDashboardWaterTemp()
GetVehicleEngineTemperature()

GetVehicleDashboardOilTemp()
This works but if you redline the vehicle it goes down in temp instead of up?


GetVehicleDashboardTemp()
Doesn’t work and gets stuck at 0.5 temp and doesn’t move.


GetVehicleDashboardWaterTemp()
I am not sure if this is intended but it ranges from 0.0 to 0.5 but doesn’t go past 0.5 even when redlining.


GetVehicleEngineTemperature()
This works but same as oil temp when redlining it goes down instead of up and when idling or still it will go up and up and up and not stop.

Full Speed Redline

This is a tiny script to test if needed

Citizen.CreateThread(function()
    while true do
        Citizen.Wait(100)

        local player = PlayerPedId()

        if IsPedInAnyVehicle(player, false) then
            local vehicle = GetVehiclePedIsIn(player, false)
            local engineTemp = GetVehicleEngineTemperature(vehicle)
            local oilTemp = GetVehicleDashboardOilTemp(vehicle)
            local dashTemp = GetVehicleDashboardTemp(vehicle)
            local waterTemp = GetVehicleDashboardWaterTemp(vehicle)

            print("Engine Temperature: " .. engineTemp)
            print("Oil Temperature: " .. oilTemp)
            print("Dash Temperature: " .. dashTemp)
            print("Water Temperature: " .. waterTemp)
        end
    end
end)
1 Like

I don’t think these natives never did anything. There is also no use in GTA V/Online itself.

I would assume these are simply leftovers from development that were never actually used in the end.

Yea but at the same time GetVehicleWheelBrakePressure() is somewhat the same type of category and works perfectly