A comprehensive Gun Shot Residue detection system for FiveM servers that simulates realistic GSR mechanics, including weather effects, cleaning methods, and weapon-specific durations.
Hi !
Thank you for your quick ESX integration !
Another suggestion is to maybe provide an export or an event to start the gsr test in case, like I do, I would like to use it with an item ! And maybe open the notify function in case some ppl would like to use another notification system !
Noted! All of that will be included in the next update, export/event support for triggering the GSR test, an option to override the notify function for custom notifications, and config options to make it work as a usable item across different inventories as well.
+ Added item system for GSR testing
+ Integrated with ox_inventory
+ Added centralized notification system
+ Improved code organization
+ Added framework/target auto-detection
+ Unlocked and made all simple functions open-source in functions.lua (removed escrow)
Thank you for your quick update !
But when I suggested an item integration, I was thinking of using an item to trigger the gsr test event ! I mean it’s great to have an item restriction (but does it work with the esx command you added ?) but it could be better to have the choice to use target, an item that triggers the gsr test event or the command I think !
So we have the choice to use it the way we prefer !
In the config, maybe you could provide something like “Config.useItem = true”, “Config.useTarget = false” and “Config.useCommand = false” and provide either an export or an event to use with ox_inventory !
I think this could be really great for ppl to have the choice to use your really nice resource the way they want !
Thank you for the feedback!
I’ve already added the event name in the README file for reference.
As for the suggestions you mentioned regarding item usage, target, and command options, I think those are great ideas, and I’ll implement them all. The update with those changes will be pushed shortly.
Oh yeah sorry I didn’t read til the end of the file I’m really sorry haha
Sounds great thank you ! Can you add a translation file so we can translate all notifications for example ?
So sorry about that! We weren’t able to test it properly on ESX during the last update, which caused these issues. I’ve fixed everything and updated the script.
Advanced GSR System
Update: 1.4
+ Fixed all errors on ESX
+ Ignored locales from escrow