# POPULATION::_SET_PED_SHOULD_IGNORE_AVOIDANCE_VOLUMES

- **Hash:** `0xF74E134F40192884`
- **Namespace:** POPULATION
- **Runtime name (Lua/JS):** `SetPedShouldIgnoreAvoidanceVolumes`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/POPULATION/_SET_PED_SHOULD_IGNORE_AVOIDANCE_VOLUMES

## Signature

```c
void _SET_PED_SHOULD_IGNORE_AVOIDANCE_VOLUMES(Ped ped, int p1);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`int`)

## Returns

`void`

## Description

Params: p1 = 1 & 2 in R* Scripts, 0 = Disable avoidance, 1 = Enabled avoidance, 2 = Enabled avoidance (?)

## Usage

### Lua

```lua
SetPedShouldIgnoreAvoidanceVolumes(ped, p1)

-- always available, by hash
Citizen.InvokeNative(0xF74E134F40192884, ped, p1)
```

### JavaScript

```js
SetPedShouldIgnoreAvoidanceVolumes(ped, p1);

// by hash
Citizen.invokeNative('0xF74E134F40192884', ped, p1);
```

### C#

```csharp
Function.Call((Hash)0xF74E134F40192884, ped, p1);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
