CameraClient

setScriptedCameraIsFirstPersonThisFrame

SET_SCRIPTED_CAMERA_IS_FIRST_PERSON_THIS_FRAME0x469F2ECDEC046337

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

SignatureJavaScript
setScriptedCameraIsFirstPersonThisFrame(p0: boolean): void
SignatureLua
setScriptedCameraIsFirstPersonThisFrame(p0: boolean)

Usage

JavaScript
setScriptedCameraIsFirstPersonThisFrame(p0);
Lua
setScriptedCameraIsFirstPersonThisFrame(p0)

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_SCRIPTED_CAMERA_IS_FIRST_PERSON_THIS_FRAME(BOOL p0)
Hash
0x469F2ECDEC046337

Open in the interactive natives reference