# CAMERA::GET_GAMEPLAY_CAM_ROT

- **Hash:** `0x0252D2B5582957A6`
- **Namespace:** CAMERA
- **Runtime name (Lua/JS):** `GetGameplayCamRot`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/CAMERA/GET_GAMEPLAY_CAM_ROT

## Signature

```c
Vector3 GET_GAMEPLAY_CAM_ROT(int rotationOrder);
```

## Parameters

- `rotationOrder` (`int`)

## Returns

`Vector3`

## Usage

### Lua

```lua
local retval = GetGameplayCamRot(rotationOrder)

-- always available, by hash
local retval = Citizen.InvokeNative(0x0252D2B5582957A6, rotationOrder, Citizen.ResultAsVector())
```

### JavaScript

```js
const retval = GetGameplayCamRot(rotationOrder);

// by hash
const retval = Citizen.invokeNative('0x0252D2B5582957A6', rotationOrder, Citizen.returnResultAnyway(), Citizen.resultAsVector());
```

### C#

```csharp
Vector3 retval = Function.Call<Vector3>((Hash)0x0252D2B5582957A6, rotationOrder);
```

## Related enums

- [eEulerRotationOrder](https://natives.borderlinerp.com/enums/eEulerRotationOrder.md) — 6 values

*Sources: alloc8or RDR3 NativeDB.*
