Aller au contenu principal

ToggleVehicleSirenEnabled

attention

La fonctionnalité de type fonction a été ajoutée dans la version omp v1.1.0.2612 et ne fonctionne pas avec les versions antérieures !

Description​

Turn the siren for a vehicle on or off.

Parameters​

NameDescription
vehicleidThe ID of the vehicle.
bool:enabledtrue: On - false: Off

Examples​

ToggleVehicleSirenEnabled(vehicleid, true);