FiveM Pepperspray Script

€15

Description

This script lets FiveM players use pepper spray the same way they use weapons already in the game. When your spray hits another player, the script detects the hit and applies an effect that leaves the target temporarily paralysed.

Police checks and clothing

For servers running esx or qbcore, the package includes a job-check. Before applying the effect, it checks whether the player is police. Clothing can also affect what happens to the target. With skinchanger, individual pieces of clothing can give the wearer immunity. The skin function is accessible if you want to integrate another player skin script.

Spray settings

You can change the effect itself and set how long it lasts in total. Two settings govern which targets a player can spray. One sets the maximum reach of the spray. The other sets the angle relative to the target.

Files and server requirements

The files contain the addon-weapon weapon_pepperspray. The script runs standalone without requiring any other scripts. At idle it runs at 0 ms. When it applies the effect, it runs at up to 0.03 ms.

Bridge code gives you access to key functions in the encrypted normal version. CodeM-Inventory has a known issue with this pepper spray. Support is unavailable for that case.

Reviews (0)

Reviews

There are no reviews yet.