SET_IK_TARGET
Hash
0xC32779C16FCEECD9Runtime name
SetIkTargetNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC32779C16FCEECD9Signature
void SET_IK_TARGET(Ped ped, int ikIndex, Entity entityLookAt, int boneLookAt, float offsetX, float offsetY, float offsetZ, Any p7, int blendInDuration, int blendOutDuration);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
ikIndex | int | — |
entityLookAt | Entity | — |
boneLookAt | int | — |
offsetX | float | — |
offsetY | float | — |
offsetZ | float | — |
p7 | Any | — |
blendInDuration | int | — |
blendOutDuration | int | — |
Returns void
Usage
SetIkTarget(ped, ikIndex, entityLookAt, boneLookAt, offsetX, offsetY, offsetZ, p7, blendInDuration, blendOutDuration)
-- always works, by hash
Citizen.InvokeNative(0xC32779C16FCEECD9, ped, ikIndex, entityLookAt, boneLookAt, offsetX, offsetY, offsetZ, p7, blendInDuration, blendOutDuration)JavaScript and C#
SetIkTarget(ped, ikIndex, entityLookAt, boneLookAt, offsetX, offsetY, offsetZ, p7, blendInDuration, blendOutDuration);
// by hash
Citizen.invokeNative('0xC32779C16FCEECD9', ped, ikIndex, entityLookAt, boneLookAt, offsetX + 0.0000001, offsetY + 0.0000001, offsetZ + 0.0000001, p7, blendInDuration, blendOutDuration);Function.Call((Hash)0xC32779C16FCEECD9, ped, ikIndex, entityLookAt, boneLookAt, offsetX, offsetY, offsetZ, p7, blendInDuration, blendOutDuration);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Enums and flags
- eAnimBoneTag 911 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.