GraphicsClient

setDebugLinesAndSpheresDrawingActive

SET_DEBUG_LINES_AND_SPHERES_DRAWING_ACTIVE0x175B6BFC15CDD0C5

The GTA V native SET_DEBUG_LINES_AND_SPHERES_DRAWING_ACTIVE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setDebugLinesAndSpheresDrawingActive, in JavaScript and in Lua.

SignatureJavaScript
setDebugLinesAndSpheresDrawingActive(enabled: boolean): void
SignatureLua
setDebugLinesAndSpheresDrawingActive(enabled: boolean)

Usage

JavaScript
setDebugLinesAndSpheresDrawingActive(enabled);
Lua
setDebugLinesAndSpheresDrawingActive(enabled)

Parameters

ParameterTypeJavaScriptLua
enabledBOOLbooleanboolean

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
Graphics GRAPHICS
In the game
void SET_DEBUG_LINES_AND_SPHERES_DRAWING_ACTIVE(BOOL enabled)
Hash
0x175B6BFC15CDD0C5

Open in the interactive natives reference