# CFX::GET_VEHICLE_PETROL_TANK_HEALTH

- **Hash:** `0xE41595CE`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `GetVehiclePetrolTankHealth`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** named only
- **URL:** https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_PETROL_TANK_HEALTH

## Signature

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

## Parameters

- `vehicle` (`Vehicle`)

## Returns

`float`

## Usage

### Lua

```lua
local retval = GetVehiclePetrolTankHealth(vehicle)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
