setCamFarClip
SET_CAM_FAR_CLIP0xAE306F2A904BF86EThe 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.
setCamFarClip(cam: Cam, farClip: number): voidsetCamFarClip(cam: Cam, farClip: number)Usage
JavaScript
setCamFarClip(cam, farClip);Lua
setCamFarClip(cam, farClip)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
farClip | float | number | number |
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