RedM Natives

SET_PED_PATH_AVOID_FIRE

Hash0x4455517B28441E60
Runtime nameSetPedPathAvoidFire
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x4455517B28441E60

Signature

void SET_PED_PATH_AVOID_FIRE(Ped ped, BOOL avoidFire);

Parameters

NameTypeDescription
pedPed—
avoidFireBOOL—

Returns void

Usage

Lua
SetPedPathAvoidFire(ped, avoidFire)

-- always works, by hash
Citizen.InvokeNative(0x4455517B28441E60, ped, avoidFire)
JavaScript and C#
JavaScript
SetPedPathAvoidFire(ped, avoidFire);

// by hash
Citizen.invokeNative('0x4455517B28441E60', ped, avoidFire);
C#
Function.Call((Hash)0x4455517B28441E60, ped, avoidFire);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.