disableVehicleDistantlights
DISABLE_VEHICLE_DISTANTLIGHTS0xC9F98AC1884E73A2The 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.
disableVehicleDistantlights(toggle: boolean): voiddisableVehicleDistantlights(toggle: boolean)Usage
JavaScript
disableVehicleDistantlights(toggle);Lua
disableVehicleDistantlights(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void DISABLE_VEHICLE_DISTANTLIGHTS(BOOL toggle)- Hash
0xC9F98AC1884E73A2