The Lab
TASK native

SET_PED_PATH_AVOID_FIRE

returns void2 paramsbuild 1207

Makes pathfinding for ped avoid fire when avoidFire is true.

Signature

C
void SET_PED_PATH_AVOID_FIRE(Ped ped, BOOL avoidFire); // 0x4455517B28441E60 b1207

Parameters

#NameType
1pedPed
2avoidFireBOOL

Facts

Facts about SET_PED_PATH_AVOID_FIRE
Name
SET_PED_PATH_AVOID_FIRE
Hash
0x4455517B28441E60
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x4455517B28441E60, -- SET_PED_PATH_AVOID_FIRE
  PlayerPedId(), -- Ped ped
  false -- BOOL avoidFire
)
JavaScript
Citizen.invokeNative("0x4455517B28441E60", // SET_PED_PATH_AVOID_FIRE
  PlayerPedId(), // Ped ped
  false // BOOL avoidFire
);
C#
Function.Call((Hash)0x4455517B28441E60, // SET_PED_PATH_AVOID_FIRE
  API.PlayerPedId(), // Ped ped
  false // BOOL avoidFire
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.