---
title: "ToggleVehicleSirenEnabled | open.mp"
description: "Turn the siren for a vehicle on or off."
canonical: https://omp.itsneufox.com/tr/docs/scripting/functions/ToggleVehicleSirenEnabled
language: tr
---

# ToggleVehicleSirenEnabled

uyarı

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

## Description

Turn the siren for a vehicle on or off.

## Parameters

| Name | Description |
| --- | --- |
| vehicleid | The ID of the vehicle. |
| bool:enabled | **true**: On - **false**: Off |

## Examples

```c
ToggleVehicleSirenEnabled(vehicleid, true);
```

## Related Functions

-   [GetVehicleSirenState](https://omp.itsneufox.com/tr/docs/scripting/functions/GetVehicleSirenState): Gets the siren state of the vehicle.
-   [GetPlayerSirenState](https://omp.itsneufox.com/tr/docs/scripting/functions/GetPlayerSirenState): Gets the siren state of the player's vehicle.
