# Delete Gun

Do you want to offer your administrators a simple, effective, and fun solution for deleting abandoned vehicles, peds, or any entity on the map? The **Delete Gun** is available for free!

<figure><img src="/files/UyszUqpvnK6Sxk6b52GN" alt=""><figcaption></figcaption></figure>

***

## 📖 About Delete Gun

With the Delete Gun, all you have to do is **aim and shoot** at any entity using the configured weapon to instantly delete it from the server. No commands, no menus — just point and fire.

The resource is designed to be lightweight, flexible, and compatible with most FiveM server setups.

***

### ✨ Main Features

* 🎯 **Aim & Shoot** — Point the configured weapon at any entity and shoot to delete it instantly
* 🔫 **Configurable Weapon** — Choose any weapon model to use as the delete gun
* 🔐 **Flexible Permission System** — Supports ACE permissions, MadonnAdmin, ESX, or a fully custom system
* 🧩 **Multi-Mode Support** — Configure multiple gun modes with different behaviors (delete, freeze, custom actions…)
* 🔔 **Notification System** — Compatible with default GTA notifications, chat, MS\_Madonne\_Notify, okokNotify, or a fully custom handler
* 🎁 **Auto-Give Weapon** — Automatically gives the weapon to authorized players on join
* ⚙️ **ESX & ox\_inventory Compatible** — Native support for ESX framework and ox\_inventory
* 🛠️ **Customizable Actions** — Define your own client-side and server-side behaviors per mode

***

### 🔗 Quick Links

* [📥 Installation](/free-scripts/delete-gun/installation.md)
* [⚙️ Configuration](/free-scripts/delete-gun/configuration.md)
* [❓ Common Errors](/free-scripts/delete-gun/common-errors.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.madonnestudio.com/free-scripts/delete-gun.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
