CameraClient

setCamDebugName

SET_CAM_DEBUG_NAME0x1B93E0107865DD40

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

SignatureJavaScript
setCamDebugName(camera: Cam, name: string): void
SignatureLua
setCamDebugName(camera: Cam, name: string)

Usage

JavaScript
setCamDebugName(camera, name);
Lua
setCamDebugName(camera, name)

Parameters

ParameterTypeJavaScriptLua
cameraCamnumberinteger
namestringstringstring

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.

NOTE: Debugging functions are not present in the retail version of the game.

Reference

Namespace
Camera CAM
In the game
void SET_CAM_DEBUG_NAME(Cam camera, const char* name)
Hash
0x1B93E0107865DD40

Open in the interactive natives reference