isSpecialLightDamaged

Used to get if a speical light on a vehicle is damaged.

No context on what special means.

Returns a boolean.

Declaration

vehicle.isSpecialLightDamaged(specialLight: number): boolean;

Usage

const isDamaged = vehicle.isSpecialLightDamaged();

Real World Example

const vehicle = new alt.Vehicle('riot', 0, 0, 0, 0, 0, 0);
const isDamaged = vehicle.isSpecialLightDamaged(2);

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

results matching ""

    No results matching ""