Preskoči na vsebino

SetVehicleParamsSirenState

opozorilo

Dodano v različici omp v1.1.0.2612. Ta element v starejših različicah ne deluje. Vrsta: funkcija.

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);