The Lab
IK native

_INVERSE_KINEMATICS_IS_ACTIVE

returns BOOL2 paramsbuild 1207

Returns true if the IK component at ikIndex is active on the ped.

Signature

C
BOOL _INVERSE_KINEMATICS_IS_ACTIVE(Ped ped, int ikIndex); // 0x6098139150DCC745 b1207

Parameters

#NameType
1pedPed
2ikIndexint

Facts

Facts about _INVERSE_KINEMATICS_IS_ACTIVE
Name
_INVERSE_KINEMATICS_IS_ACTIVE
Hash
0x6098139150DCC745
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x6098139150DCC745, -- _INVERSE_KINEMATICS_IS_ACTIVE
  PlayerPedId(), -- Ped ped
  0 -- int ikIndex
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x6098139150DCC745", // _INVERSE_KINEMATICS_IS_ACTIVE
  PlayerPedId(), // Ped ped
  0, // int ikIndex
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x6098139150DCC745, // _INVERSE_KINEMATICS_IS_ACTIVE
  API.PlayerPedId(), // Ped ped
  0 // int ikIndex
);
All IK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.