# CFX::GET_VEHICLE_BODY_HEALTH

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

## Signature

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

## Parameters

- `vehicle` (`Vehicle`)

## Returns

`float`

## Usage

### Lua

```lua
local retval = GetVehicleBodyHealth(vehicle)

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

### JavaScript

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

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

### C#

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

## See also

- [CFX::SET_VEHICLE_BODY_HEALTH](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_BODY_HEALTH.md) — p2 often set to 1000.0 in the decompiled scripts.

*Sources: Cfx.re native reference.*
