{"hash":"0x17C07FC640E86B4E","ns":"PED","name":"GET_PED_BONE_COORDS","slug":"GET_PED_BONE_COORDS","official":true,"named":true,"luaName":"GetPedBoneCoords","game":"rdr3","apiset":"client","returnType":"Vector3","params":[{"name":"ped","type":"Ped"},{"name":"boneId","type":"int"},{"name":"offsetX","type":"float"},{"name":"offsetY","type":"float"},{"name":"offsetZ","type":"float"}],"summary":"Gets the position of the specified bone of the specified ped.","descriptions":[{"source":"alloc8or","format":"text","body":"Gets the position of the specified bone of the specified ped.\n\nped: The ped to get the position of a bone from.\nboneId: The ID of the bone to get the position from. This is NOT the index.\noffsetX: The X-component of the offset to add to the position relative to the bone's rotation.\noffsetY: The Y-component of the offset to add to the position relative to the bone's rotation.\noffsetZ: The Z-component of the offset to add to the position relative to the bone's rotation."}],"examples":[],"aliases":[],"enums":["eAnimBoneTag"],"related":[],"build":"1207","gtaHash":"0x17C07FC640E86B4E","gtaJhash":"0x4579CAB1","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/GET_PED_BONE_COORDS","markdownUrl":"https://natives.borderlinerp.com/natives/PED/GET_PED_BONE_COORDS.md","snippets":{"lua":"local retval = GetPedBoneCoords(ped, boneId, offsetX, offsetY, offsetZ)","luaInvoke":"local retval = Citizen.InvokeNative(0x17C07FC640E86B4E, ped, boneId, offsetX, offsetY, offsetZ, Citizen.ResultAsVector())","js":"const retval = GetPedBoneCoords(ped, boneId, offsetX, offsetY, offsetZ);","jsInvoke":"const retval = Citizen.invokeNative('0x17C07FC640E86B4E', ped, boneId, offsetX + 0.0000001, offsetY + 0.0000001, offsetZ + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsVector());","csharp":"Vector3 retval = Function.Call<Vector3>((Hash)0x17C07FC640E86B4E, ped, boneId, offsetX, offsetY, offsetZ);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}