CameraClient

setCamFarClip

SET_CAM_FAR_CLIP0xAE306F2A904BF86E

The GTA V native SET_CAM_FAR_CLIP of the CAM namespace, as LS:MP client scripts call it: the global function setCamFarClip, in JavaScript and in Lua.

SignatureJavaScript
setCamFarClip(cam: Cam, farClip: number): void
SignatureLua
setCamFarClip(cam: Cam, farClip: number)

Usage

JavaScript
setCamFarClip(cam, farClip);
Lua
setCamFarClip(cam, farClip)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger
farClipfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_CAM_FAR_CLIP(Cam cam, float farClip)
Hash
0xAE306F2A904BF86E

Open in the interactive natives reference