# Advanced Pepper Spray

**Advanced Pepper Spray** is a premium and fully customizable resource for FiveM servers. This script allows you to add a realistic and immersive pepper spray feature to incapacitate suspects or targets, perfect for law enforcement and roleplay scenarios. With realistic sound effects, decontamination spray, a recharge system, and gas mask protection, this script ensures a dynamic and engaging experience.

***

#### **What Does This Script Do?**

💨 **Realistic Sound & Visual Effects**\
Experience realistic sound and visual effects when using the **Pepper Spray**, enhancing the immersion of your roleplay with each use.

🧴 **Gas Effect System**\
Use the **Pepper Spray** to incapacitate your target. The gas has a unique visual and sound effect, making the experience even more immersive and realistic.

💥 **Decontamination System**\
The decontamination spray allows players to cleanse themselves from the effects of the pepper spray, reducing the gas's impact.

🔋 **Recharge System**\
To prevent overuse of the **Pepper Spray**, the script features a configurable recharge system, allowing players to refill their sprays at designated points on the map.

🔴 **Gas Mask Protection**\
Players wearing a gas mask are protected from the effects of the **Pepper Spray**. You can customize the gas mask models and the effects they have.

🦸‍♂️ **Command and Permission System**\
Fully compatible with **ESX**, **QBCore**, and **standalone** setups, the script allows easy configuration of permissions and can integrate commands with your inventory or roleplay interactions.

🎛️ **Fully Configurable Behavior**\
Customize keys, spray effects, descent speed, spray range, and much more. You can fully adapt the script’s behavior to your server's needs.

#### **Additional Features:**

* **Spit and Rubbing Mechanics**: Players can spit or rub their eyes to reduce the gas effect.
* **Gas Mask Protection**: Players with a gas mask will be immune to the spray’s effects.

***

#### **Standalone & Flexible**

* ✅ Works flawlessly as a **standalone** script.
* 🔄 Fully adaptable to popular frameworks like **ESX or QB-Core**, allowing job restrictions for commands.

***

[Purchase it](https://store.rytrak.fr/package/4950985)

{% embed url="<https://www.youtube.com/watch?v=0yzIoOoBpdk>" %}


---

# 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://docs.rytrak.fr/scripts/advanced-pepper-spray.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.
