ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. setCameraClip

Function

setCameraClip

ClientCameraIdentical to MTA:SA

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.

See also