# CAMERA::GET_GAMEPLAY_CAM_RELATIVE_HEADING

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

## Signature

```c
float GET_GAMEPLAY_CAM_RELATIVE_HEADING();
```

## Returns

`float`

## Usage

### Lua

```lua
local retval = GetGameplayCamRelativeHeading()

-- always available, by hash
local retval = Citizen.InvokeNative(0xC4ABF536048998AA, Citizen.ResultAsFloat())
```

### JavaScript

```js
const retval = GetGameplayCamRelativeHeading();

// by hash
const retval = Citizen.invokeNative('0xC4ABF536048998AA', Citizen.returnResultAnyway(), Citizen.resultAsFloat());
```

### C#

```csharp
float retval = Function.Call<float>((Hash)0xC4ABF536048998AA);
```

## See also

- [CAMERA::SET_GAMEPLAY_CAM_RELATIVE_HEADING](https://natives.borderlinerp.com/natives/CAMERA/SET_GAMEPLAY_CAM_RELATIVE_HEADING.md) — Sets the camera position relative to heading in float from -360 to +360.

*Sources: alloc8or RDR3 NativeDB.*
