{"hash":"0xFB760AF4F537B8BF","ns":"CAMERA","name":"SET_GAMEPLAY_CAM_RELATIVE_PITCH","slug":"SET_GAMEPLAY_CAM_RELATIVE_PITCH","official":true,"named":true,"luaName":"SetGameplayCamRelativePitch","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"x","type":"float"},{"name":"Value2","type":"float"}],"summary":"Sets the camera pitch.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets the camera pitch.\n\nParameters:\nx = pitches the camera on the x axis.\nValue2 = always seems to be hex 0x3F800000 (1.000000 float)."}],"examples":[],"aliases":[],"enums":[],"related":["0x99AADEBBA803F827"],"build":"1207","gtaHash":"0x6D0858B8EDFD2B7D","gtaJhash":"0x6381B963","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CAMERA/SET_GAMEPLAY_CAM_RELATIVE_PITCH","markdownUrl":"https://natives.borderlinerp.com/natives/CAMERA/SET_GAMEPLAY_CAM_RELATIVE_PITCH.md","snippets":{"lua":"SetGameplayCamRelativePitch(x, Value2)","luaInvoke":"Citizen.InvokeNative(0xFB760AF4F537B8BF, x, Value2)","js":"SetGameplayCamRelativePitch(x, Value2);","jsInvoke":"Citizen.invokeNative('0xFB760AF4F537B8BF', x + 0.0000001, Value2 + 0.0000001);","csharp":"Function.Call((Hash)0xFB760AF4F537B8BF, x, Value2);","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."]}}