nightlightOn
Used to get
the status of a center console light in the vehicle.
Returns a boolean
.
Declaration
vehicle.nightlightOn: boolean;
Usage
const isOn = vehicle.nightlightOn;
Real World Example
const vehicle = new alt.Vehicle('washington', 0, 0, 0, 0, 0, 0);
const isOn = vehicle.nightlightOn;
These examples assume you have vehicle created or available on server-side