# TASK::SET_PED_PATH_MAY_ENTER_WATER

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

## Signature

```c
void SET_PED_PATH_MAY_ENTER_WATER(Ped ped, BOOL mayEnterWater);
```

## Parameters

- `ped` (`Ped`)
- `mayEnterWater` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetPedPathMayEnterWater(ped, mayEnterWater)

-- always available, by hash
Citizen.InvokeNative(0xF35425A4204367EC, ped, mayEnterWater)
```

### JavaScript

```js
SetPedPathMayEnterWater(ped, mayEnterWater);

// by hash
Citizen.invokeNative('0xF35425A4204367EC', ped, mayEnterWater);
```

### C#

```csharp
Function.Call((Hash)0xF35425A4204367EC, ped, mayEnterWater);
```

*Sources: alloc8or RDR3 NativeDB.*
