CameraClient

getRenderingCam

GET_RENDERING_CAM0x5234F9F10919EABA

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

SignatureJavaScript
getRenderingCam(): Cam
SignatureLua
getRenderingCam(): Cam

Usage

JavaScript
const cam = getRenderingCam();
Lua
local cam = getRenderingCam()

Parameters

None.

Returns

Cam JavaScript number, Lua integer

Handle of a scripted camera.

Reference

Namespace
Camera CAM
In the game
Cam GET_RENDERING_CAM()
Hash
0x5234F9F10919EABA

Open in the interactive natives reference