// CreateCamWithParams
Cam CREATE_CAM_WITH_PARAMS(char* camName, float posX, float posY, float posZ, float rotX, float rotY, float rotZ, float fov, BOOL active, int rotationOrder);
Parameters:- camName:
A string representing the camera type, the game will convert the string into a joaat hash upon native execution.
- posX:
The x position of the camera (you can also send a vector3 instead of the bulk coordinates)
- posY:
The y position of the camera (you can also send a vector3 instead of the bulk coordinates)
- posZ:
The z position of the camera (you can also send a vector3 instead of the bulk coordinates)
- rotX:
The x rotation of the camera
- rotY:
The y rotation of the camera
- rotZ:
The z rotation of the camera
- fov:
The Field Of View of the camera, is the observable world that is seen
- active:
Set to true if you wish to make this new camera the active camera.
- rotationOrder:
The order of rotation, see GET_ENTITY_ROTATION
Create a camera with the specified cam name/type, You can use SET_CAM_
natives to manipulate the camera.
Take a look at CREATE_CAM if you would like to see the available camera names.