Passa al contenuto principale

SetVehicleParamsSirenState

Avviso

La funzione è stata aggiunta nella versione omp v1.1.0.2612 e non funziona nelle versioni precedenti!

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