- Documentation
- Client functions
- setCameraClip
Function
setCameraClip
Stores whether the camera should clip objects and vehicles.
Syntax
bool setCameraClip([bool objects = true, bool vehicles = true])Arguments
objectsbool, optional = true- Objects.
vehiclesbool, optional = true- Vehicles.
Returns
true on success.
Example
setCameraClip(false, true)
Notes
State for scripts. The value is stored and returned by getCameraClip; the game camera does not apply it yet.