CreateCameraWithParams — FiveM Natives
0x6ABFA3E16460F22D · CAM · all
Create a camera with the specified camera hash, You can use SET_CAM_ natives to manipulate the camera. Make sure to call RENDER_SCRIPT_CAMS once the camera is created, or this won't have any visible effect. Take a look at CREATE_CAM if you would like to see the available camera names. `` NativeDB Introduced: v323 ``
Parameters
| Name | Type | Description |
|---|---|---|
| camHash | Hash | The hash of the camera type, use [GET_HASH_KEY](#\_0xD24D37CC275948CC) to get the camera hash from the name. |
| posX | float | The x position of the camera. |
| posY | float | The y position of the camera. |
| posZ | float | The z position of the camera. |
| rotX | float | The x rotation of the camera. |
| rotY | float | The y rotation of the camera. |
| rotZ | float | The z rotation of the camera. |
| fov | float | The Field Of View of the camera, is the observable world that is seen. |
| active | BOOL | Set to true if you wish to make this new camera the active camera. |
| rotationOrder | int | The order of rotation, see [`GET_ENTITY_ROTATION`](#\_0xAFBD61CC738D9EB9). |
Returns
Cam