RedM Natives

_SET_PED_SHOULD_IGNORE_AVOIDANCE_VOLUMES

Hash0xF74E134F40192884
Runtime nameSetPedShouldIgnoreAvoidanceVolumes
NamespacePOPULATION
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PED_SHOULD_IGNORE_AVOIDANCE_VOLUMES(Ped ped, int p1);

Parameters

NameTypeDescription
pedPed—
p1int—

Returns void

Description

Params: p1 = 1 & 2 in R* Scripts, 0 = Disable avoidance, 1 = Enabled avoidance, 2 = Enabled avoidance (?)

Usage

Lua
SetPedShouldIgnoreAvoidanceVolumes(ped, p1)

-- always works, by hash
Citizen.InvokeNative(0xF74E134F40192884, ped, p1)
JavaScript and C#
JavaScript
SetPedShouldIgnoreAvoidanceVolumes(ped, p1);

// by hash
Citizen.invokeNative('0xF74E134F40192884', ped, p1);
C#
Function.Call((Hash)0xF74E134F40192884, ped, p1);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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