Links

General Configuration

Config.Language

​
​
Choose the language of the resource, we propose the basic language French (fr) and English (en).

Config.ESX

​
​
Set enabled to true if you want to use the esx job system.

Config.QB

​
​
Set enabled to true if you want to use the QBCore job system.

Config.AcePermission

​
​
Use the ace permission system.

Config.RechargeCoords

​
​
Coordinated to recharge the pepper spray and decontamination spray.

Config.RechargeRadius

​
​
Distance to recharge.

Config.DisableSprintWhenGassed

​
​
Activate or not the fact of running when the person is gassed

Config.DisableEnterVehicleWhenGassed

​
​
Activate or disable the ability to get into a vehicle when it is gassed

Config.PepperSpray

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!

Config.PepperSpray.weapon

​
​
Model of the weapon for the spray

Config.PepperSpray.requiredJob

​
​
Job required to recover this gas (this configuration is enabled when you activate ESX or QB above)

Config.PepperSpray.sprayQuantity

​
​
Quantity of spray in ml.

Config.PepperSpray.sprayDescent

​
​
Time in milliseconds to lower the recovery rate (The higher the number, the longer the time)

Config.PepperSpray.sprayRange

​
​
The distance of the spray to hit the other players

Config.PepperSpray.sprayDamageMultiplier

​
​
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)

Config.PepperSpray.gasDescent

​
​
Rate of descent of the progress bar

Config.PepperSpray.splitEnabled

​
​
Active or not to spit.

Config.PepperSpray.splitDescent

​
​
How many percent when you spit the recovery rate will decrease

Config.PepperSpray.splitTimeout

​
​
Time in milliseconds to spit again.

Config.PepperSpray.rubbingEnabled

​
​
Active or not for rubbing the eyes.

Config.PepperSpray.rubbingDescent

​
​
The above descentSpeed will be divided into this number when you rub your eyes.

Config.PepperSpray.selfDecontamination

​
​
Activate or not the player's self decontamination with a decontamination spray when you are gassed.

Config.PepperSpray.gasMask

​
​
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.

Config.Decontamination

Config.Decontamination.command

​
​
Command to give the decontamination spray.

Config.Decontamination.weapon

​
​
Decontamination spray weapon

Config.Decontamination.requiredJob

​
​
Job required to recover this gas (this configuration is enabled when you activate ESX or QB above)

Config.Decontamination.decontaminationQuantity

​
​
Quantity of decontamination spray

Config.Decontamination.decontaminationDescent

​
​
Time in milliseconds to lower the recovery rate (The higher the number, the longer the time)

Config.Decontamination.decontaminationTimeout

​
​
Time in miliseconds to use the decontamination spray

Config.Decontamination.decreaseLevel

​
​
The rate of descent when you apply the decontamination spray on someone
​