Saltar al contenido principal

ToggleVehicleSirenEnabled

aviso

Este elemento (función) se añadió en omp v1.1.0.2612 y no funciona en versiones anteriores.

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