Passa al contenuto principale

IsVehicleSirenEnabled

Avviso

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

Description​

Checks if a vehicle siren is on or off.

Parameters​

NameDescription
vehicleidThe ID of the vehicle to check.

Return Values​

true - Vehicle siren is on.

false - Vehicle siren is off.

Examples​

if (IsVehicleSirenEnabled(vehicleid))
{
// Vehicle siren is on
}
else
{
// Vehicle siren is off
}