General Configuration
This guide will help you configure the script to suit your needs, covering all available options in the config.lua file. Each setting is explained step by step.
1. General Configuration
Language Set the language used by the script.
Config.Language = 'en' -- Available options: 'en' (English), 'fr' (French).Use Outdated Version Enable this option to suppress alert messages when using an older version of the script.
Config.UseOutdatedVersion = false -- Set to true if using an outdated script version.2. Framework Compatibility
If you're using a framework like ESX, QB, or OX Inventory, enable this setting.
Config.UseFramework = falseWhen
true, the system uses the inventory (e.g., weapon usage) instead of command-based interactions.Setup instructions for each framework are available on:
3. Inventory Management
Auto Remove Empty Items Automatically removes empty pepper spray or antidote items from the inventory based on your framework.
4. Recharge System
Recharge Locations Defines coordinates where players can refill their sprays.
5. Player Control Settings
Disable certain actions when affected by gas.
6. Weapon Settings
Weapon Display Names Names displayed in the weapon wheel.
Cooldown Delay Sets the cooldown time between certain actions to prevent spam.
7. Pepper Spray Configuration
You can define multiple pepper spray types with their own stats.
8. Decontamination Spray
9. Progress Bar Design
Customize the look of the progress bar when recovering.
7. Key Bindings
Spit Key
Set the key used to spit out the gas.
Rubbing Key
Set the key used to rub the eyes and reduce the gas effect.
Replace Key
Set the key used to replace your pepper spray or antidote.
8. Language Library
Edit the text displayed for different actions in multiple languages.
Last updated