# CFX::IS_BOAT_ANCHORED_AND_FROZEN

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

## Signature

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

## Parameters

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

## Returns

`bool` — Returns whether or not the boat is anchored and frozen.

## Usage

### Lua

```lua
local retval = IsBoatAnchoredAndFrozen(vehicle)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
