HardAttachCamToEntity — FiveM Natives
0x202A5ED9CE01D6E7 · CAM · all
Attaches a camera to an entity, including full matrix transformations for both rotation and position offsets. `` NativeDB Introduced: v2189 ``
Parameters
| Name | Type | Description |
|---|---|---|
| cam | Cam | The camera handle. |
| entity | Entity | The entity handle. |
| xRot | float | X-axis rotation. |
| yRot | float | Y-axis rotation. |
| zRot | float | Z-axis rotation. |
| xOffset | float | X-axis offset |
| yOffset | float | Y-axis offset |
| zOffset | float | Z-axis offset |
| isRelative | BOOL | Whether or not the camera position will be relative to the entity rotation |
Returns
void