---
title: "SetVehicleDead | open.mp"
description: "Sets the vehicle to dead."
canonical: https://omp.itsneufox.com/docs/scripting/functions/SetVehicleDead
language: en
---

# SetVehicleDead

warning

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

warning

This function has not yet been implemented.

## Description

Sets the vehicle to dead.

## Parameters

| Name | Description |
| --- | --- |
| vehicleid | The ID of the vehicle. |
| bool:dead | **true**: dead - **false**: not dead |

## Examples

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

## Related Functions

-   [IsVehicleDead](https://omp.itsneufox.com/docs/scripting/functions/IsVehicleDead): Check if a vehicle is dead.
