The Lab
PLAYER native

SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME

returns void1 parambuild 1207

Makes all random peds flee from player for the current frame.

Signature

C
void SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME(Player player); // 0xD5C198A62F1DEB0A b1207

Parameters

#NameType
1playerPlayer

Facts

Facts about SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME
Name
SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME
Hash
0xD5C198A62F1DEB0A
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(0xD5C198A62F1DEB0A, -- SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME
  PlayerId() -- Player player
)
JavaScript
Citizen.invokeNative("0xD5C198A62F1DEB0A", // SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME
  PlayerId() // Player player
);
C#
Function.Call((Hash)0xD5C198A62F1DEB0A, // SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME
  API.PlayerId() // Player player
);
All PLAYER natives

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