CreateCamera
Argument | Data Type | Needed | Default | Description |
---|---|---|---|---|
Coords | vector3 | - | The coords to create the camera | |
Rotation | vector3 | - | The rotation to create the camera | |
Active | boolean | - | If true switch on that cam | |
Shake | table | - | Shake or no |
Returns
Data Type | Description |
---|---|
cam | The camera handle |
Dont need to be called every frame
Example
local cam = CreateCamera(vector3(0.0, 0.0, 0.0), vector3(0.0, 0.0, 0.0), false, {type = "ROAD_VIBRATION_SHAKE", amount = 1.0})