# VEHICLE::GET_VEHICLE_ENGINE_HEALTH

- **Hash:** `0x90DBFFAC43B22081`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `GetVehicleEngineHealth`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/GET_VEHICLE_ENGINE_HEALTH

## Signature

```c
float GET_VEHICLE_ENGINE_HEALTH(Vehicle vehicle);
```

## Parameters

- `vehicle` (`Vehicle`)

## Returns

`float`

## Description

Returns 1000.0 if the function is unable to get the address of the specified vehicle or if it's not a vehicle.

Minimum: -4000
Maximum: 1000

-4000: Engine is destroyed
0 and below: Engine catches fire and health rapidly declines
300: Engine is smoking and losing functionality
1000: Engine is perfect

## Usage

### Lua

```lua
local retval = GetVehicleEngineHealth(vehicle)

-- always available, by hash
local retval = Citizen.InvokeNative(0x90DBFFAC43B22081, vehicle, Citizen.ResultAsFloat())
```

### JavaScript

```js
const retval = GetVehicleEngineHealth(vehicle);

// by hash
const retval = Citizen.invokeNative('0x90DBFFAC43B22081', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
```

### C#

```csharp
float retval = Function.Call<float>((Hash)0x90DBFFAC43B22081, vehicle);
```

## See also

- [VEHICLE::SET_VEHICLE_ENGINE_HEALTH](https://natives.borderlinerp.com/natives/VEHICLE/SET_VEHICLE_ENGINE_HEALTH.md) — 1000 is max health Begins leaking gas at around 650 health -999.90002441406 appears to be minimum health, although nothing special occurs <- false statement -4000: Engine is destroyed 0 and below: Engine catches fire and health rapidly d…

*Sources: alloc8or RDR3 NativeDB.*
