RedM Natives

_IS_PED_TARGET_ACTION_DISABLE_FLAG_ENABLED

Hash0x02AA2096FE00F3E1
Runtime nameIsPedTargetActionDisableFlagEnabled
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _IS_PED_TARGET_ACTION_DISABLE_FLAG_ENABLED(Ped ped, int actionDisableFlag);

Parameters

NameTypeDescription
pedPed—
actionDisableFlagint—

Returns BOOL

Usage

Lua
local retval = IsPedTargetActionDisableFlagEnabled(ped, actionDisableFlag)

-- always works, by hash
local retval = Citizen.InvokeNative(0x02AA2096FE00F3E1, ped, actionDisableFlag, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedTargetActionDisableFlagEnabled(ped, actionDisableFlag);

// by hash
const retval = Citizen.invokeNative('0x02AA2096FE00F3E1', ped, actionDisableFlag, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x02AA2096FE00F3E1, 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

Sources

alloc8or RDR3 NativeDB

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