# VEHICLE::SET_ALLOW_VEHICLE_EXPLODES_ON_CONTACT

- **Hash:** `0x8D3230A0ED7DE39F`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `SetAllowVehicleExplodesOnContact`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/SET_ALLOW_VEHICLE_EXPLODES_ON_CONTACT

## Signature

```c
void SET_ALLOW_VEHICLE_EXPLODES_ON_CONTACT(Vehicle vehicle, BOOL p1);
```

## Parameters

- `vehicle` (`Vehicle`)
- `p1` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetAllowVehicleExplodesOnContact(vehicle, p1)

-- always available, by hash
Citizen.InvokeNative(0x8D3230A0ED7DE39F, vehicle, p1)
```

### JavaScript

```js
SetAllowVehicleExplodesOnContact(vehicle, p1);

// by hash
Citizen.invokeNative('0x8D3230A0ED7DE39F', vehicle, p1);
```

### C#

```csharp
Function.Call((Hash)0x8D3230A0ED7DE39F, vehicle, p1);
```

*Sources: alloc8or RDR3 NativeDB.*
