Preskoči na vsebino

SetVehicleParamsSirenState

opozorilo

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

Description​

Turn the siren for a vehicle on or off.

Parameters​

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

Examples​

SetVehicleParamsSirenState(vehicleid, true);