CameraClient

disableGameplayCamAltitudeFovScalingThisUpdate

DISABLE_GAMEPLAY_CAM_ALTITUDE_FOV_SCALING_THIS_UPDATE0xEA7F0AD7E9BA676F

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

SignatureJavaScript
disableGameplayCamAltitudeFovScalingThisUpdate(): void
SignatureLua
disableGameplayCamAltitudeFovScalingThisUpdate()

Usage

JavaScript
disableGameplayCamAltitudeFovScalingThisUpdate();
Lua
disableGameplayCamAltitudeFovScalingThisUpdate()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Shows the crosshair even if it wouldn't show normally. Only works for one frame, so make sure to call it repeatedly.

Reference

Namespace
Camera CAM
In the game
void DISABLE_GAMEPLAY_CAM_ALTITUDE_FOV_SCALING_THIS_UPDATE()
Hash
0xEA7F0AD7E9BA676F
Formerly
_ENABLE_CROSSHAIR_THIS_FRAME

Open in the interactive natives reference