CreateCam — FiveM Natives
0xC3981DCE61D9E13F · CAM · all
Creates a camera with the specified cam name, 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. ### Camera names: DEFAULT_SCRIPTED_CAMERA DEFAULT_ANIMATED_CAMERA DEFAULT_SPLINE_CAMERA DEFAULT_SCRIPTED_FLY_CAMERA TIMED_SPLINE_CAMERA CUSTOM_TIMED_SPLINE_CAMERA ROUNDED_SPLINE_CAMERA SMOOTHED_SPLINE_CAMERA
Parameters
| Name | Type | Description |
|---|---|---|
| camName | char* | A string representing the camera type, the game will convert the string into a joaat hash upon native execution. |
| active | BOOL | Set to true if you wish to make this new camera the active camera. |
Returns
Cam