pauseCamera

pauseCamera(state [bool])

Pauses dynamic camera overall. If called when using in a vehicle, the camera will stop and return to the native game camera. If unpaused when in a vehicle, it will return to the dynamic camera, if allowed by your settings. This native does not reset it's state once you get out of the vehicle, meaning you must keep track if it is currently paused or not. You may get the current state with this export. If the player is not in a vehicle, this native will pause the camera execution when getting in.

Last updated