# CFX::IS_BOAT_WRECKED

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

## Signature

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

## Parameters

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

## Returns

`bool` — Returns whether or not the boat is wrecked.

## Usage

### Lua

```lua
local retval = IsBoatWrecked(vehicle)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
