ESX Gunshot Detection System provides real-time detection and alerts for gunshots in your FiveM server. The system tracks gunfire locations on the map, enabling law enforcement to respond quickly. Ideal for police and emergency response roleplay, this script enhances server dynamics with realistic and immersive gunshot detection and response features.
The script will detect when gunshots are fired and will put out a sound and text alert to all of the Law Enforcement patrol vehicles with an approximate location.
No permissions are being used, you just have to be inside a police car to receive the gunshot alert.
To be realistic, the ShotSpotter has a default delay of 20 seconds to put out an alert after gunshots are detected.
Throwables, melees, fire extinguishers, stunguns, flareguns, and suppressed weapons won’t be detected by the ShotSpotter.
These last two parameters can be configured in the config.lua as well as a couple of other options
Features
- Simple and clean
- Highly customizable
- Sound effect
- Animated map blip
- Suppressed weapons won’t be detected
- Ability to blacklist weapons
Changelog
v1.4
- Added version checker
v1.3
- Removed useless AddEventHandler
- Used pre-hashed string to remove GetHashKey
(Thanks to Ekinoxx0)v1.2
- Reduced resource impact on performance (0.26ms to 0.08ms)
v1.1
- Updated InvokeNative to the actual Get StreetNameAtCoord native
- Replaced outdated GetPlayerPed with PlayerPedId
(Thanks to MichaelCoding25)v1.0
- Initial Release
Need help?
If you have any other questions or issues related to this product, you can contact us. This script works well with our Esx Police Response Script for enhanced roleplay communication
Visit if you’re looking for anything regarding this RedM script
Reviews
There are no reviews yet.