# CFX::DOES_BOAT_SINK_WHEN_WRECKED

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

## Signature

```c
bool DOES_BOAT_SINK_WHEN_WRECKED(Vehicle vehicle);
```

## Parameters

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

## Returns

`bool` — Returns whether or not the boat sinks when wrecked.

## Usage

### Lua

```lua
local retval = DoesBoatSinkWhenWrecked(vehicle)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
