CameraClient

disableOnFootFirstPersonViewThisUpdate

DISABLE_ON_FOOT_FIRST_PERSON_VIEW_THIS_UPDATE0xDE2EF5DA284CC8DF

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

SignatureJavaScript
disableOnFootFirstPersonViewThisUpdate(): void
SignatureLua
disableOnFootFirstPersonViewThisUpdate()

Usage

JavaScript
disableOnFootFirstPersonViewThisUpdate();
Lua
disableOnFootFirstPersonViewThisUpdate()

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.

Disables first person camera for the current frame.

Found in decompiled scripts:

drawDebugText2d("Disabling First Person Cam", 0.5, 0.8, 0.0, 0, 0, 255, 255);
disableOnFootFirstPersonViewThisUpdate();

Reference

Namespace
Camera CAM
In the game
void DISABLE_ON_FOOT_FIRST_PERSON_VIEW_THIS_UPDATE()
Hash
0xDE2EF5DA284CC8DF
Formerly
_DISABLE_FIRST_PERSON_CAM_THIS_FRAME

Open in the interactive natives reference