VehicleClient

suppressNeonsOnVehicle

SUPPRESS_NEONS_ON_VEHICLE0x83F813570FF519DE

The GTA V native SUPPRESS_NEONS_ON_VEHICLE of the VEHICLE namespace, as LS:MP client scripts call it: the global function suppressNeonsOnVehicle, in JavaScript and in Lua.

SignatureJavaScript
suppressNeonsOnVehicle(vehicle: Vehicle, toggle: boolean): void
SignatureLua
suppressNeonsOnVehicle(vehicle: Vehicle, toggle: boolean)

Usage

JavaScript
suppressNeonsOnVehicle(vehicle, toggle);
Lua
suppressNeonsOnVehicle(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SUPPRESS_NEONS_ON_VEHICLE(Vehicle vehicle, BOOL toggle)
Hash
0x83F813570FF519DE
Introduced
Game build 573 legacy numbering
Formerly
_DISABLE_VEHICLE_NEON_LIGHTS

Open in the interactive natives reference