{"hash":"0xAF7F3099B9FEB535","ns":"ENTITY","name":"_SET_ENTITY_LOCKON_POINT_OFFSET","slug":"_SET_ENTITY_LOCKON_POINT_OFFSET","official":false,"named":true,"luaName":"SetEntityLockonPointOffset","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"offsetX","type":"float"},{"name":"offsetY","type":"float"},{"name":"offsetZ","type":"float"}],"summary":"Sets an offset for the entity's lock-on/target focus point.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets an offset for the entity's lock-on/target focus point.\nThis does not move the entity itself. It shifts the point used by targeting or camera focus when the entity is selected as a target."},{"source":"vorp","format":"text","body":"Sets an offset for the entity's lock-on / target focus point."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_SET_ENTITY_LOCKON_POINT_OFFSET","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_SET_ENTITY_LOCKON_POINT_OFFSET.md","snippets":{"lua":"SetEntityLockonPointOffset(entity, offsetX, offsetY, offsetZ)","luaInvoke":"Citizen.InvokeNative(0xAF7F3099B9FEB535, entity, offsetX, offsetY, offsetZ)","js":"SetEntityLockonPointOffset(entity, offsetX, offsetY, offsetZ);","jsInvoke":"Citizen.invokeNative('0xAF7F3099B9FEB535', entity, offsetX + 0.0000001, offsetY + 0.0000001, offsetZ + 0.0000001);","csharp":"Function.Call((Hash)0xAF7F3099B9FEB535, entity, 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.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}