# CAMERA::SET_THIRD_PERSON_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE

- **Hash:** `0x326C7AA308F3DF6A`
- **Namespace:** CAMERA
- **Runtime name (Lua/JS):** `SetThirdPersonCamRelativePitchLimitsThisUpdate`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/CAMERA/SET_THIRD_PERSON_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE

## Signature

```c
void SET_THIRD_PERSON_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE(float minimum, float maximum);
```

## Parameters

- `minimum` (`float`)
- `maximum` (`float`)

## Returns

`void`

## Description

minimum: Degrees between -90f and 90f.
maximum: Degrees between -90f and 90f.

Clamps the gameplay camera's current pitch.

Eg. _CLAMP_GAMEPLAY_CAM_PITCH(0.0f, 0.0f) will set the vertical angle directly behind the player.

Old name: _CLAMP_GAMEPLAY_CAM_PITCH

## Usage

### Lua

```lua
SetThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum)

-- always available, by hash
Citizen.InvokeNative(0x326C7AA308F3DF6A, minimum, maximum)
```

### JavaScript

```js
SetThirdPersonCamRelativePitchLimitsThisUpdate(minimum, maximum);

// by hash
Citizen.invokeNative('0x326C7AA308F3DF6A', minimum + 0.0000001, maximum + 0.0000001);
```

### C#

```csharp
Function.Call((Hash)0x326C7AA308F3DF6A, minimum, maximum);
```

- 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.

*Sources: alloc8or RDR3 NativeDB.*
