{"hash":"0xFDC0DF7F6FB0A592","ns":"CAMERA","name":"ATTACH_CAM_TO_ENTITY","slug":"ATTACH_CAM_TO_ENTITY","official":true,"named":true,"luaName":"AttachCamToEntity","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"cam","type":"Cam"},{"name":"entity","type":"Entity"},{"name":"xOffset","type":"float"},{"name":"yOffset","type":"float"},{"name":"zOffset","type":"float"},{"name":"isRelative","type":"BOOL"}],"summary":"Last param determines if its relative to the Entity","descriptions":[{"source":"alloc8or","format":"text","body":"Last param determines if its relative to the Entity"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xFEDB7D269E8C60E3","gtaJhash":"0xAD7C45F6","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CAMERA/ATTACH_CAM_TO_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/CAMERA/ATTACH_CAM_TO_ENTITY.md","snippets":{"lua":"AttachCamToEntity(cam, entity, xOffset, yOffset, zOffset, isRelative)","luaInvoke":"Citizen.InvokeNative(0xFDC0DF7F6FB0A592, cam, entity, xOffset, yOffset, zOffset, isRelative)","js":"AttachCamToEntity(cam, entity, xOffset, yOffset, zOffset, isRelative);","jsInvoke":"Citizen.invokeNative('0xFDC0DF7F6FB0A592', cam, entity, xOffset + 0.0000001, yOffset + 0.0000001, zOffset + 0.0000001, isRelative);","csharp":"Function.Call((Hash)0xFDC0DF7F6FB0A592, cam, entity, xOffset, yOffset, zOffset, isRelative);","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."]}}