Advanced Pepper Spray
This script adds a realistic pepper spray feature to FiveM servers, perfect for law enforcement and roleplay. Fully customizable, it includes sound effects, decontamination spray, a recharge system, and gas mask protection to ensure an immersive experience.
With this complete configuration this script will adapt to the needs of your server!
Key Features
Realistic Sound & Visual Effects: Experience realistic sound and visual effects when using the pepper spray, enhancing roleplay immersion.
Gas Effect System: Incapacitate targets with unique visual and sound effects.
Decontamination System: Allows players to cleanse themselves from the pepper spray’s effects.
Recharge System: Configurable recharge points to prevent overuse.
Gas Mask Protection: Players wearing gas masks are protected. Models and effects are customizable.
Command & Permission System: Fully compatible with ESX, QBCore, and standalone setups for easy permissions and inventory integration.
Fully Configurable Behavior: Customize keys, spray effects, descent speed, range, and more.
Additional Features:
- Spit and Rubbing Mechanics: Reduce the gas effect by spitting or rubbing eyes.
- Gas Mask Protection: Players with gas masks are immune to the spray effects.
Standalone & Flexible
Fully adaptable to popular frameworks like ESX or QB-Core, allowing inventory-based interaction or job restrictions.
Works flawlessly as a standalone script.
Optimization
The system has been optimized for low resource consumption during idle states and efficient performance during active use.
- Idle State: 0.00ms
- Active State (Only for the player using it): 0.06ms
Test Our Resource
You can test the script by following the documentation here.
Documentation Included
The Advanced Pepper Spray comes with comprehensive documentation covering all features and configurations. Everything you need to make the most of this resource is included.