The Lab
IK native

_IK_SET_FOCUS_ENTITY_FOR_PED

returns void2 paramsbuild 1207

Sets an entity for the ped's inverse kinematics to focus on.

Signature

C
void _IK_SET_FOCUS_ENTITY_FOR_PED(Ped ped, Entity targetEntity); // 0x873C792E07A32C8B b1207

Parameters

#NameType
1pedPed
2targetEntityEntity

Facts

Facts about _IK_SET_FOCUS_ENTITY_FOR_PED
Name
_IK_SET_FOCUS_ENTITY_FOR_PED
Hash
0x873C792E07A32C8B
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x873C792E07A32C8B, -- _IK_SET_FOCUS_ENTITY_FOR_PED
  PlayerPedId(), -- Ped ped
  PlayerPedId() -- Entity targetEntity
)
JavaScript
Citizen.invokeNative("0x873C792E07A32C8B", // _IK_SET_FOCUS_ENTITY_FOR_PED
  PlayerPedId(), // Ped ped
  PlayerPedId() // Entity targetEntity
);
C#
Function.Call((Hash)0x873C792E07A32C8B, // _IK_SET_FOCUS_ENTITY_FOR_PED
  API.PlayerPedId(), // Ped ped
  API.PlayerPedId() // Entity targetEntity
);
All IK natives

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