lightsMultiplier

Used to set or get the multipler for vehicle lights. Which decreases or inreases brightness.

Returns a number.

Declaration

vehicle.lightsMultiplier: number;

Usage

const currentMultiplier = vehicle.lightsMultiplier;

// OR

vehicle.lightsMultiplier = 20;

Real World Example

const vehicle = new alt.Vehicle('elegy', 0, 0, 0, 0, 0, 0);
vehicle.lightsMultiplier = 20;

Visual

These examples assume you have vehicle created or available on server-side

results matching ""

    No results matching ""