Used to set or get the siren activity of a vehicle.

Only applies to vehicles with sirens. Like a police car.

Returns a boolean.


vehicle.sirenActive: boolean;


const isSirenActive = vehicle.sirenActive;

// OR

vehicle.sirenActive = true;

Real World Example

const vehicle = new alt.Vehicle('police', 0, 0, 0, 0, 0, 0);
vehicle.sirenActive = true;

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

results matching ""

    No results matching ""