CameraClient

useScriptCamForAmbientPopulationOriginThisFrame

USE_SCRIPT_CAM_FOR_AMBIENT_POPULATION_ORIGIN_THIS_FRAME0x271401846BD26E92

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

SignatureJavaScript
useScriptCamForAmbientPopulationOriginThisFrame(
  p0: boolean,
  p1: boolean
): void
SignatureLua
useScriptCamForAmbientPopulationOriginThisFrame(p0: boolean, p1: boolean)

Usage

JavaScript
useScriptCamForAmbientPopulationOriginThisFrame(p0, p1);
Lua
useScriptCamForAmbientPopulationOriginThisFrame(p0, p1)

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void USE_SCRIPT_CAM_FOR_AMBIENT_POPULATION_ORIGIN_THIS_FRAME(BOOL p0, BOOL p1)
Hash
0x271401846BD26E92

Open in the interactive natives reference