_SET_PED_ACTION_DISABLE_FLAG
Hash
0xB8DE69D9473B7593Runtime name
SetPedActionDisableFlagNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_ACTION_DISABLE_FLAG(Ped ped, int actionDisableFlag);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
actionDisableFlag | int | — |
Returns void
Description
https://github.com/femga/rdr3_discoveries/tree/master/AI/COMBAT_ACTION_DISABLE_FLAGS
Usage
SetPedActionDisableFlag(ped, actionDisableFlag)
-- always works, by hash
Citizen.InvokeNative(0xB8DE69D9473B7593, ped, actionDisableFlag)JavaScript and C#
SetPedActionDisableFlag(ped, actionDisableFlag);
// by hash
Citizen.invokeNative('0xB8DE69D9473B7593', ped, actionDisableFlag);Function.Call((Hash)0xB8DE69D9473B7593, 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
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.