RedM Natives

SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME

Hash0xD5C198A62F1DEB0A
Runtime nameSetAllRandomPedsFleeThisFrame
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x471D2FF42A94B4F2

Signature

void SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns void

Usage

Lua
SetAllRandomPedsFleeThisFrame(player)

-- always works, by hash
Citizen.InvokeNative(0xD5C198A62F1DEB0A, player)
JavaScript and C#
JavaScript
SetAllRandomPedsFleeThisFrame(player);

// by hash
Citizen.invokeNative('0xD5C198A62F1DEB0A', player);
C#
Function.Call((Hash)0xD5C198A62F1DEB0A, player);

Sources

alloc8or RDR3 NativeDB

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