setSpecialLightDamaged

Used to set the damage on a special vehicle light.

Declaration

vehicle.setSpecialLightDamaged(specialLight: number, isDamaged: boolean): void;

Usage

vehicle.setSpecialLightDamaged(0, false);

Real World Example

const vehicle = new alt.Vehicle('dloader', 0, 0, 0, 0, 0, 0);
vehicle.setSpecialLightDamaged(2, false);

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

results matching ""

    No results matching ""