_SET_PED_SHOULD_IGNORE_AVOIDANCE_VOLUMES
Hash
0xF74E134F40192884Runtime name
SetPedShouldIgnoreAvoidanceVolumesNamespacePOPULATION
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_SHOULD_IGNORE_AVOIDANCE_VOLUMES(Ped ped, int p1);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | int | — |
Returns void
Description
Params: p1 = 1 & 2 in R* Scripts, 0 = Disable avoidance, 1 = Enabled avoidance, 2 = Enabled avoidance (?)
Usage
SetPedShouldIgnoreAvoidanceVolumes(ped, p1)
-- always works, by hash
Citizen.InvokeNative(0xF74E134F40192884, ped, p1)JavaScript and C#
SetPedShouldIgnoreAvoidanceVolumes(ped, p1);
// by hash
Citizen.invokeNative('0xF74E134F40192884', ped, p1);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.