RGB Controller | Vehicle Neon Controller
Standalone vehicle neon RGB controller for QBCore, ESX, Qbox
This script adds pepper spray to your server as a proper addon weapon, weapon_pepperspray, that players equip and fire like any other gun. Whenever the spray hits another player, the script picks it up and applies a configurable effect that temporarily paralyses the target.
It is fully standalone and needs no other scripts to run. On ESX and QBCore a built-in job check makes sure only police can actually apply the pepper spray effect, so the weapon stays a law enforcement tool rather than a griefing item.
The script runs at 0.00 ms while idle and peaks at 0.03 ms only while a pepper spray effect is active.
If you run skinchanger, you can mark pieces of clothing that grant immunity to the spray, think gas masks or riot gear from your own wardrobe setup. The immunity function is accessible, so other skin resources can be wired in as well.
The normal version ships encrypted, but the key functions stay reachable through bridge code, so you can still hook the effect and immunity logic into your own resources.
CodeM-Inventory is known to not work properly with the pepper spray. We cannot offer support for that combination.
Police Pepper Spray Addon Weapon is a premium FiveM script for esx, qbcore, qbox servers. It’s part of the Marketplace catalog, a curated selection of battle-tested resources for QBCore, ESX and Qbox roleplay servers. Every script on Marketplace ships with lifetime updates, secure payments by Tebex, and a ticket system for technical support.
Whether you’re building a QBCore server from scratch, upgrading an ESX Legacy deployment, or migrating to Qbox, this resource drops in cleanly and runs at 0.00ms idle resmon. The config-first design means you can customize prices, permissions and locations without touching the core Lua.