General Configuration
Last updated
Last updated
Choose the language of the resource, we propose the basic language French (fr) and English (en).
If you are using ESX or QBCore, please set the UseFramework variable to true, then follow the video tutorial in our documentation to make the script compatible.
This variable is used to remove the command to give the weapon and thus use it from your inventory.
For ESX: click here
For QBCore: click here
Coordinated to recharge the pepper spray and decontamination spray.
Distance to recharge.
This variable is used to change the name in the weapon wheel
Timeout to avoid spam events
Here you can configure a new spray as many times as you want, you can add as many pepper sprays as you want in this table!
Model of the weapon for the spray
Job required to recover this gas (this configuration is enabled when you activate ESX or QB above)
Quantity of spray in ml.
Time in milliseconds to lower the recovery rate (The higher the number, the longer the time)
The distance of the spray to hit the other players
25*the multiplier (for the bar to be at 100, the multiplier must be at 4 the maximum of the multiplier) (by default the multiplier is set to 1 so the bar will rise in 25)
Rate of descent of the progress bar
Active or not to spit.
How many percent when you spit the recovery rate will decrease
Time in milliseconds to spit again.
Active or not for rubbing the eyes.
The above descentSpeed will be divided into this number when you rub your eyes.
Activate or not the player's self decontamination with a decontamination spray when you are gassed.
Define oxygen masks so as not to be impacted by the pepper spray
This number defines the category used for the EUP, you have the list below
0: Face\ 1: Mask\ 2: Hair\ 3: Torso\ 4: Leg\ 5: Parachute / bag\ 6: Shoes\ 7: Accessory\ 8: Undershirt\ 9: Kevlar\ 10: Badge\ 11: Torso 2
You can put the table with no value inside to disable this option
Here is an example with numbers, on the left the number 1 is equal to the category Mask, and on the right to the number in the category.
Command to give the decontamination spray.
Decontamination spray weapon
Job required to recover this gas (this configuration is enabled when you activate ESX or QB above)
Quantity of decontamination spray
Time in milliseconds to lower the recovery rate (The higher the number, the longer the time)
Time in miliseconds to use the decontamination spray
The rate of descent when you apply the decontamination spray on someone