_INVERSE_KINEMATICS_SET_DISABLED_FOR_PED
Enables/disables a specific IK index on the ped.
Hash
0x0EABF182FBB63D72Runtime name
InverseKinematicsSetDisabledForPedNamespaceIK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _INVERSE_KINEMATICS_SET_DISABLED_FOR_PED(Ped ped, int ikIndex, BOOL disabled);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
ikIndex | int | — |
disabled | BOOL | — |
Returns BOOL
Description
Enables/disables a specific IK index on the ped.
Notes:
- ikIndex is not a raw bit index; it maps to one or more internal IK flags.
- Observed script usage commonly passes ikIndex = 1 during wardrobe/shop-style interactions.
- Valid observed ikIndex range from code: 0..8.
- Pairs naturally with _INVERSE_KINEMATICS_IS_ACTIVE.
Seems to disable IK on ped
Usage
local retval = InverseKinematicsSetDisabledForPed(ped, ikIndex, disabled)
-- always works, by hash
local retval = Citizen.InvokeNative(0x0EABF182FBB63D72, ped, ikIndex, disabled, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = InverseKinematicsSetDisabledForPed(ped, ikIndex, disabled);
// by hash
const retval = Citizen.invokeNative('0x0EABF182FBB63D72', ped, ikIndex, disabled, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x0EABF182FBB63D72, ped, ikIndex, disabled);- 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.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.