CameraClient

getDebugCam

GET_DEBUG_CAM0x77C3CEC46BE286F6

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

SignatureJavaScript
getDebugCam(): Cam
SignatureLua
getDebugCam(): Cam

Usage

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

Parameters

None.

Returns

Cam JavaScript number, Lua integer

Handle of a scripted camera.

Reference

Namespace
Camera CAM
In the game
Cam GET_DEBUG_CAM()
Hash
0x77C3CEC46BE286F6
Introduced
Game build 2372 legacy numbering
Formerly
_GET_DEBUG_CAMERA

Open in the interactive natives reference