CameraClient

setFirstPersonAimCamNearClipThisUpdate

SET_FIRST_PERSON_AIM_CAM_NEAR_CLIP_THIS_UPDATE0x0AF7B437918103B3

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

SignatureJavaScript
setFirstPersonAimCamNearClipThisUpdate(p0: number): void
SignatureLua
setFirstPersonAimCamNearClipThisUpdate(p0: number)

Usage

JavaScript
setFirstPersonAimCamNearClipThisUpdate(p0);
Lua
setFirstPersonAimCamNearClipThisUpdate(p0)

Parameters

ParameterTypeJavaScriptLua
p0floatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_FIRST_PERSON_AIM_CAM_NEAR_CLIP_THIS_UPDATE(float p0)
Hash
0x0AF7B437918103B3
Formerly
_SET_FIRST_PERSON_CAM_NEAR_CLIP

Open in the interactive natives reference