> For the complete documentation index, see [llms.txt](https://docs.rytrak.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rytrak.fr/scripts/advanced-pepper-spray.md).

# 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>" %}
