# PLAYER::SET_PLAYER_FORCED_AIM

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

## Signature

```c
void SET_PLAYER_FORCED_AIM(Player player, BOOL toggle, Ped ped, int p3, BOOL p4);
```

## Parameters

- `player` (`Player`)
- `toggle` (`BOOL`)
- `ped` (`Ped`)
- `p3` (`int`)
- `p4` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetPlayerForcedAim(player, toggle, ped, p3, p4)

-- always available, by hash
Citizen.InvokeNative(0xD5FCC166AEB2FD0F, player, toggle, ped, p3, p4)
```

### JavaScript

```js
SetPlayerForcedAim(player, toggle, ped, p3, p4);

// by hash
Citizen.invokeNative('0xD5FCC166AEB2FD0F', player, toggle, ped, p3, p4);
```

### C#

```csharp
Function.Call((Hash)0xD5FCC166AEB2FD0F, player, toggle, ped, p3, p4);
```

## Related enums

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

*Sources: alloc8or RDR3 NativeDB.*
