Przejdź do głównej zawartości

IsVehicleSirenEnabled

warning

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

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
}