darkness
Used to set
or get
the darkness of the metal on a vehicle. Best seen on a hydra
plane.
Returns a number
.
Declaration
vehicle.darkness: number
Usage
const darkness = vehicle.darkness;
// OR
vehicle.darkness = 500;
Real World Example
const vehicle = new alt.Vehicle('hydra', 0, 0, 0, 0, 0, 0);
vehicle.darkness = 500;
Visual
0 Darkness
500 Darkness
These examples assume you have vehicle created or available on server-side