getCamNearClip
GET_CAM_NEAR_CLIP0xC520A34DAFBF24B1The GTA V native GET_CAM_NEAR_CLIP of the CAM namespace, as LS:MP client scripts call it: the global function getCamNearClip, in JavaScript and in Lua.
getCamNearClip(cam: Cam): numbergetCamNearClip(cam: Cam): numberUsage
JavaScript
const value = getCamNearClip(cam);Lua
local value = getCamNearClip(cam)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
Returns
float JavaScript number, Lua numberReference
- Namespace
- Camera CAM
- In the game
float GET_CAM_NEAR_CLIP(Cam cam)- Hash
0xC520A34DAFBF24B1