setCamNearClip
SET_CAM_NEAR_CLIP0xC7848EFCCC545182The GTA V native SET_CAM_NEAR_CLIP of the CAM namespace, as LS:MP client scripts call it: the global function setCamNearClip, in JavaScript and in Lua.
setCamNearClip(cam: Cam, nearClip: number): voidsetCamNearClip(cam: Cam, nearClip: number)Usage
JavaScript
setCamNearClip(cam, nearClip);Lua
setCamNearClip(cam, nearClip)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
nearClip | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_NEAR_CLIP(Cam cam, float nearClip)- Hash
0xC7848EFCCC545182