RedM Natives

_IS_PED_ACTION_DISABLE_FLAG_ENABLED

Hash0xB346C85D49CC998E
Runtime nameIsPedActionDisableFlagEnabled
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _IS_PED_ACTION_DISABLE_FLAG_ENABLED(Ped ped, int actionDisableFlag);

Parameters

NameTypeDescription
pedPed—
actionDisableFlagint—

Returns BOOL

Usage

Lua
local retval = IsPedActionDisableFlagEnabled(ped, actionDisableFlag)

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

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