# CFX::HAS_VEHICLE_BEEN_DAMAGED_BY_BULLETS

- **Hash:** `0xB8AF3137`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `HasVehicleBeenDamagedByBullets`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/HAS_VEHICLE_BEEN_DAMAGED_BY_BULLETS

## Signature

```c
BOOL HAS_VEHICLE_BEEN_DAMAGED_BY_BULLETS(Vehicle vehicle);
```

## Parameters

- `vehicle` (`Vehicle`) — The target vehicle.

## Returns

`BOOL` — Returns whether or not the target vehicle has been damaged by bullets.

## Usage

### Lua

```lua
local retval = HasVehicleBeenDamagedByBullets(vehicle)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
