_IS_PED_TARGET_ACTION_DISABLE_FLAG_ENABLED
Hash
0x02AA2096FE00F3E1Runtime name
IsPedTargetActionDisableFlagEnabledNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_PED_TARGET_ACTION_DISABLE_FLAG_ENABLED(Ped ped, int actionDisableFlag);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
actionDisableFlag | int | — |
Returns BOOL
Usage
local retval = IsPedTargetActionDisableFlagEnabled(ped, actionDisableFlag)
-- always works, by hash
local retval = Citizen.InvokeNative(0x02AA2096FE00F3E1, ped, actionDisableFlag, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedTargetActionDisableFlagEnabled(ped, actionDisableFlag);
// by hash
const retval = Citizen.invokeNative('0x02AA2096FE00F3E1', ped, actionDisableFlag, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Enums and flags
- CActionFlags__DisableFlag 35 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.