Ga naar inhoud
BRABO CustomsBRABO CUSTOMS

Sirene flashers

Sirene flashers (sf) are vehicle extras that automatically activate only when the siren is running and deactivate when the siren stops. They add an additional layer of visual urgency during active siren use.


Use Case

On real emergency vehicles, some lighting elements only activate during full emergency response (siren on), for example, additional intersection flashers, wig-wag headlights, or strobes. The sf property replicates this behavior.


Configuration

configData[spawnVoertuig] = {
    blauw = {1, 2},
    sf = {6, 7},      -- These extras activate only when siren is on
    sirene = 'hoog',
    -- ...
}

Behavior

Siren Statesf Extras
Siren OFFExtras OFF
Siren ONExtras ON
Siren toggled OFFExtras toggle OFF

The sf extras are managed automatically, you don't need a separate keybind. They follow the siren state exactly.

The state is synchronized to all nearby players via server events.


Sirene flashers do not appear as a button in the UI. They are purely automatic, tied to the siren state.