{"hash":"0x5D1EB123EAC5D071","ns":"CAMERA","name":"SET_GAMEPLAY_CAM_RELATIVE_HEADING","slug":"SET_GAMEPLAY_CAM_RELATIVE_HEADING","official":true,"named":true,"luaName":"SetGameplayCamRelativeHeading","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"heading","type":"float"},{"name":"p1","type":"float"}],"summary":"Sets the camera position relative to heading in float from -360 to +360.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets the camera position relative to heading in float from -360 to +360.\n\nHeading is always 0 in aiming camera."}],"examples":[],"aliases":[],"enums":[],"related":["0xC4ABF536048998AA"],"build":"1207","gtaHash":"0xB4EC2312F4E5B1F1","gtaJhash":"0x20C6217C","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CAMERA/SET_GAMEPLAY_CAM_RELATIVE_HEADING","markdownUrl":"https://natives.borderlinerp.com/natives/CAMERA/SET_GAMEPLAY_CAM_RELATIVE_HEADING.md","snippets":{"lua":"SetGameplayCamRelativeHeading(heading, p1)","luaInvoke":"Citizen.InvokeNative(0x5D1EB123EAC5D071, heading, p1)","js":"SetGameplayCamRelativeHeading(heading, p1);","jsInvoke":"Citizen.invokeNative('0x5D1EB123EAC5D071', heading + 0.0000001, p1 + 0.0000001);","csharp":"Function.Call((Hash)0x5D1EB123EAC5D071, heading, p1);","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."]}}