{"hash":"0x326C7AA308F3DF6A","ns":"CAMERA","name":"SET_THIRD_PERSON_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE","slug":"SET_THIRD_PERSON_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE","official":true,"named":true,"luaName":"SetThirdPersonCamRelativePitchLimitsThisUpdate","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"minimum","type":"float"},{"name":"maximum","type":"float"}],"summary":"Clamps the gameplay camera's current pitch.","descriptions":[{"source":"alloc8or","format":"text","body":"minimum: Degrees between -90f and 90f.\nmaximum: Degrees between -90f and 90f.\n\nClamps the gameplay camera's current pitch.\n\nEg. _CLAMP_GAMEPLAY_CAM_PITCH(0.0f, 0.0f) will set the vertical angle directly behind the player.\n\nOld name: _CLAMP_GAMEPLAY_CAM_PITCH"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xA516C198B7DCA1E1","gtaJhash":"0xFA3A16E7","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CAMERA/SET_THIRD_PERSON_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE","markdownUrl":"https://natives.borderlinerp.com/natives/CAMERA/SET_THIRD_PERSON_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE.md","snippets":{"lua":"SetThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum)","luaInvoke":"Citizen.InvokeNative(0x326C7AA308F3DF6A, minimum, maximum)","js":"SetThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum);","jsInvoke":"Citizen.invokeNative('0x326C7AA308F3DF6A', minimum + 0.0000001, maximum + 0.0000001);","csharp":"Function.Call((Hash)0x326C7AA308F3DF6A, minimum, maximum);","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."]}}