GraphicsClient

disableVehicleDistantlights

DISABLE_VEHICLE_DISTANTLIGHTS0xC9F98AC1884E73A2

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

SignatureJavaScript
disableVehicleDistantlights(toggle: boolean): void
SignatureLua
disableVehicleDistantlights(toggle: boolean)

Usage

JavaScript
disableVehicleDistantlights(toggle);
Lua
disableVehicleDistantlights(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void DISABLE_VEHICLE_DISTANTLIGHTS(BOOL toggle)
Hash
0xC9F98AC1884E73A2

Open in the interactive natives reference