# TASK::SET_PED_PATH_AVOID_FIRE

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

## Signature

```c
void SET_PED_PATH_AVOID_FIRE(Ped ped, BOOL avoidFire);
```

## Parameters

- `ped` (`Ped`)
- `avoidFire` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetPedPathAvoidFire(ped, avoidFire)

-- always available, by hash
Citizen.InvokeNative(0x4455517B28441E60, ped, avoidFire)
```

### JavaScript

```js
SetPedPathAvoidFire(ped, avoidFire);

// by hash
Citizen.invokeNative('0x4455517B28441E60', ped, avoidFire);
```

### C#

```csharp
Function.Call((Hash)0x4455517B28441E60, ped, avoidFire);
```

*Sources: alloc8or RDR3 NativeDB.*
