RedM Natives

_SET_PED_TARGET_ACTION_DISABLE_FLAG

Hash0xC163DAC52AC975D3
Runtime nameSetPedTargetActionDisableFlag
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PED_TARGET_ACTION_DISABLE_FLAG(Ped ped, int actionDisableFlag);

Parameters

NameTypeDescription
pedPed—
actionDisableFlagint—

Returns void

Usage

Lua
SetPedTargetActionDisableFlag(ped, actionDisableFlag)

-- always works, by hash
Citizen.InvokeNative(0xC163DAC52AC975D3, ped, actionDisableFlag)
JavaScript and C#
JavaScript
SetPedTargetActionDisableFlag(ped, actionDisableFlag);

// by hash
Citizen.invokeNative('0xC163DAC52AC975D3', ped, actionDisableFlag);
C#
Function.Call((Hash)0xC163DAC52AC975D3, ped, actionDisableFlag);
  • 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.

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB

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