# CAMERA::POINT_CAM_AT_ENTITY

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

## Signature

```c
void POINT_CAM_AT_ENTITY(Cam cam, Entity entity, float p2, float p3, float p4, BOOL p5);
```

## Parameters

- `cam` (`Cam`)
- `entity` (`Entity`)
- `p2` (`float`)
- `p3` (`float`)
- `p4` (`float`)
- `p5` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
PointCamAtEntity(cam, entity, p2, p3, p4, p5)

-- always available, by hash
Citizen.InvokeNative(0xFC2867E6074D3A61, cam, entity, p2, p3, p4, p5)
```

### JavaScript

```js
PointCamAtEntity(cam, entity, p2, p3, p4, p5);

// by hash
Citizen.invokeNative('0xFC2867E6074D3A61', cam, entity, p2 + 0.0000001, p3 + 0.0000001, p4 + 0.0000001, p5);
```

### C#

```csharp
Function.Call((Hash)0xFC2867E6074D3A61, cam, entity, p2, p3, p4, p5);
```

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