This is a revamp of smojo’s original OC Spray script, picking up where it left off and fixing many of the issues seen in that mod. A new pepper spray can model has been added, NPC use functionality added and interfacing with the LSPDFR API to properly work during pursuits. (Because it uses the LSPDFR API the plugin only works when on duty)
Features
New animations and sounds, better emulating the real effect of pepper spray
New Spray can model
Interfacing with the LSPDFR API to work during pursuits
NPCs can now use the OC Spray
Much smoother spray animation
Small chance the subject will fight back
3 (in-game) metre working distance- You must be close to the target
Install
Simply download with Lenny’s Mod Manager
To spawn
It should be automatically added to your inventory when you go on duty. You can also manually add it:
When in game, press F4 to access the RagePluginHook Console and type “GiveWeapon WEAPON_OCSPRAY” without the quotations and press enter. Alternatively, you can add the entry to whatever loadout you want in the inventory xml as seen below.
Setup for NPCs (advanced users)
In “lspdfr\data\custom\inventory_eup.xml”, simply add
Requirements
LSPDFR 0.4.7
RPH 1.74
Lenny’s Mod Loader
Known Issues
– If an AI ped is shooting the spray towards the player, whizzing sounds are heard as if bullets are whizzing past
– AI spraying while running is not very accurate
– Sometimes the ped’s screaming/coughing sounds don’t play
– Ped doesn’t surrender immediately if sprayed during a pursuit (LSPDFR API Limitation)
– Any cop sprayed during a pursuit will just stand there after the effects wear off, rendering them useless
Credits:
Blobby
smojo for the original script and dlc files