{"hash":"0xBE22B26DD764C040","ns":"PED","name":"GET_ANIM_INITIAL_OFFSET_POSITION","slug":"GET_ANIM_INITIAL_OFFSET_POSITION","official":true,"named":true,"luaName":"GetAnimInitialOffsetPosition","game":"rdr3","apiset":"client","returnType":"Vector3","params":[{"name":"animDict","type":"const char*"},{"name":"animName","type":"const char*"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"xRot","type":"float"},{"name":"yRot","type":"float"},{"name":"zRot","type":"float"},{"name":"p8","type":"float"},{"name":"p9","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":["eEulerRotationOrder"],"related":[],"build":"1207","gtaHash":"0xBE22B26DD764C040","gtaJhash":"0xC59D4268","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/GET_ANIM_INITIAL_OFFSET_POSITION","markdownUrl":"https://natives.borderlinerp.com/natives/PED/GET_ANIM_INITIAL_OFFSET_POSITION.md","snippets":{"lua":"local retval = GetAnimInitialOffsetPosition(animDict, animName, x, y, z, xRot, yRot, zRot, p8, p9)","luaInvoke":"local retval = Citizen.InvokeNative(0xBE22B26DD764C040, animDict, animName, x, y, z, xRot, yRot, zRot, p8, p9, Citizen.ResultAsVector())","js":"const retval = GetAnimInitialOffsetPosition(animDict, animName, x, y, z, xRot, yRot, zRot, p8, p9);","jsInvoke":"const retval = Citizen.invokeNative('0xBE22B26DD764C040', animDict, animName, x + 0.0000001, y + 0.0000001, z + 0.0000001, xRot + 0.0000001, yRot + 0.0000001, zRot + 0.0000001, p8 + 0.0000001, p9, Citizen.returnResultAnyway(), Citizen.resultAsVector());","csharp":"Vector3 retval = Function.Call<Vector3>((Hash)0xBE22B26DD764C040, animDict, animName, x, y, z, xRot, yRot, zRot, p8, p9);","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."]}}