The Lab
PED native

SET_PED_FLEE_ATTRIBUTES

returns void3 paramsbuild 1207

Enables or disables the flee attributes attributeFlags on ped.

Signature

C
void SET_PED_FLEE_ATTRIBUTES(Ped ped, int attributeFlags, BOOL enable); // 0x70A2D1137C8ED7C9 b1207

Parameters

#NameType
1pedPed
2attributeFlagsint
3enableBOOL

Facts

Facts about SET_PED_FLEE_ATTRIBUTES
Name
SET_PED_FLEE_ATTRIBUTES
Hash
0x70A2D1137C8ED7C9
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(0x70A2D1137C8ED7C9, -- SET_PED_FLEE_ATTRIBUTES
  PlayerPedId(), -- Ped ped
  0, -- int attributeFlags
  false -- BOOL enable
)
JavaScript
Citizen.invokeNative("0x70A2D1137C8ED7C9", // SET_PED_FLEE_ATTRIBUTES
  PlayerPedId(), // Ped ped
  0, // int attributeFlags
  false // BOOL enable
);
C#
Function.Call((Hash)0x70A2D1137C8ED7C9, // SET_PED_FLEE_ATTRIBUTES
  API.PlayerPedId(), // Ped ped
  0, // int attributeFlags
  false // BOOL enable
);
All PED natives

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