PointCamAtEntity — FiveM Natives
0x5640BFF86B16E8DC · CAM · all
Points the camera at the specified entity. Offset works like GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS.
Parameters
| Name | Type | Description |
|---|---|---|
| cam | Cam | Cam (Return value of CREATE_CAM or CREATE_CAM_WITH_PARAMS). |
| entity | Entity | Entity for the camera to point at. |
| offsetX | float | X offset for the camera (left/right). |
| offsetY | float | Y offset for the camera (forward/backward). |
| offsetZ | float | Z offset for the camera (up/down). |
| p5 | BOOL | Always seems to be 1 (true). |
Returns
void