_INVERSE_KINEMATICS_SET_DISABLED_FOR_PED
Disables or re-enables the IK component at ikIndex on the ped.
Signature
BOOL _INVERSE_KINEMATICS_SET_DISABLED_FOR_PED(Ped ped, int ikIndex, BOOL disabled); // 0x0EABF182FBB63D72 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | ikIndex | int |
| 3 | disabled | BOOL |
Facts
| Name | _INVERSE_KINEMATICS_SET_DISABLED_FOR_PED |
|---|---|
| Hash | 0x0EABF182FBB63D72 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x0EABF182FBB63D72, -- _INVERSE_KINEMATICS_SET_DISABLED_FOR_PED
PlayerPedId(), -- Ped ped
0, -- int ikIndex
false -- BOOL disabled
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x0EABF182FBB63D72", // _INVERSE_KINEMATICS_SET_DISABLED_FOR_PED
PlayerPedId(), // Ped ped
0, // int ikIndex
false, // BOOL disabled
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x0EABF182FBB63D72, // _INVERSE_KINEMATICS_SET_DISABLED_FOR_PED
API.PlayerPedId(), // Ped ped
0, // int ikIndex
false // BOOL disabled
);Related IK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.