CameraClient

getCamNearClip

GET_CAM_NEAR_CLIP0xC520A34DAFBF24B1

The 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.

SignatureJavaScript
getCamNearClip(cam: Cam): number
SignatureLua
getCamNearClip(cam: Cam): number

Usage

JavaScript
const value = getCamNearClip(cam);
Lua
local value = getCamNearClip(cam)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger

Returns

float JavaScript number, Lua number

Reference

Namespace
Camera CAM
In the game
float GET_CAM_NEAR_CLIP(Cam cam)
Hash
0xC520A34DAFBF24B1

Open in the interactive natives reference