ESX • QBCore • Qbox compatible
Instant download
Updates included
Discord support
Secure checkout

Pepperspray Script + Weapon

Add a realistic pepper spray weapon to your FiveM server. This standalone script applies a configurable paralysis effect...

Key Features

Easy Configuration
Simple config files for quick setup
Extensible Code
Clean, well-structured codebase
Secure & Optimized
Server-side validation & performance
Multi-Language
Fully translatable labels
$6.99
$13.99

Works with ESXQBCoreQbox

Available in a bundle!

Save 30% when you purchase this package as part of the Pepperspray, Police Shield & Bodybag Bundle.

View bundle

What's included:

  • Full script files
  • Configuration files
  • Installation documentation
  • Lifetime updates
  • Discord support
Instant download
Updates included
Discord support

Overview

Are you looking to introduce pepper spray to the arsenal of your police department, or add a new unique weapon to your server? Look no further! This script includes a new addon-weapon, which can be used just like any other existing weapon. The script detects whenever you hit another player with the pepper spray, and applies a configurable effect to the player which temporarily paralyses the target.

Features

  • This is a standalone script and it does not require any other scripts in order to run. A job-check for esx and qbcore is included which checks if a player is police before applying the pepper spray effect.
  • An addon-weapon by the name of weapon_pepperspray is included in the files.
  • The pepper spray effect is configurable, as well as the total effect time.
  • The maximum range and angle w.r.t. the target can be configured, at which a target can be pepper sprayed.
  • Optimized to run at 0 ms when the script is idle, and a maximum of 0.03 ms when the pepper spray effect is applied.
  • If you use  skinchanger, you can add pieces of clothing which give you immunity to the pepper spray effect. Other scripts handling player skins can also be implemented, as the corresponding function is accessible.
  • The normal version is encrypted, but key functions are still accessible via bridge code.
  • CodeM-Inventory is known to not function properly with the pepper-spray, we cannot offer support in this case.

Installation

  1. Download the resource from portal.cfx.re (Assets > Granted Assets)
  2. Extract the files and move the resource folder to your server's resources directory
  3. Add to server.cfg by adding: ensure gs_pepperspray
  4. Restart your server to load the resource
  5. Configure (optional) by editing the config.lua file in the resource folder

Configuration

All scripts include easy-to-edit configuration files. Common settings include:

  • Language/localization options
  • Feature toggles
  • Price and economy settings
  • Notification preferences

Escrow vs Source: Which Should You Choose?

Escrow (Encrypted)

Best for server owners who want plug-and-play functionality.

  • Protected code files
  • Easy configuration via config files
  • Same features as source version

Source (Unencrypted)

Best for developers who need full customization.

  • 100% editable code
  • Full customization freedom
  • Same features as escrow version

Same features; editability differs.

What others say

"Very cool was just looking for this! Good price too!"

- Muwah

Frequently Asked Questions

Yes! All our scripts are compatible with ESX, QBCore, and Qbox frameworks. Additionally, all framework-related code is accessible, so you can easily integrate our scripts with any custom framework.
Escrow (encrypted) is best for plug-and-play functionality with protected files. Source (unencrypted) gives you full customization freedom with 100% editable code. Both include the same features, updates, and support.
Yes! We provide detailed documentation and Discord support to help you with installation and configuration.
We regularly update our scripts to ensure compatibility with the latest FiveM versions. All purchases include lifetime updates, so you'll receive notifications when new versions are available.
Yes! All scripts include configuration files for easy customization. If you purchase the Source (unencrypted) version, you have full access to modify the code. Escrow versions allow configuration changes but protect the core code files.
Most scripts function independently and don't require additional resources. If any dependencies are needed, this information will be clearly provided in the installation documentation and product description.

Item added to basket!

Your selected item has been added to your basket successfully.