# CAMERA::SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE

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

## Signature

```c
void SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`void`

## Description

Forces gameplay cam to specified ped as if you were the ped or spectating it

## Usage

### Lua

```lua
SetGameplayCamFollowPedThisUpdate(ped)

-- always available, by hash
Citizen.InvokeNative(0x82E41D6ADE924FCA, ped)
```

### JavaScript

```js
SetGameplayCamFollowPedThisUpdate(ped);

// by hash
Citizen.invokeNative('0x82E41D6ADE924FCA', ped);
```

### C#

```csharp
Function.Call((Hash)0x82E41D6ADE924FCA, ped);
```

*Sources: alloc8or RDR3 NativeDB.*
