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