Not sure. My server is not open for public yet. I will test it out with a friend. Ill tell you when i have tested it.
When your in the water you get the message more then ones. Its spamming
The test message works, but its gone to fast. Hard to read Had to do the test more then ones. Or is it color coded? Green is good. Red is bad
1 Like
Just pushed an update! Let me know how that goes!
Yes for the test part, green is They Tested Positive, (Has Shot), red is that they did not have GSR (did not shoot)
GSR will keep on running when you go out of the water.
1 Like
You can go ahead and hit DELETE to cancel that. The fix for now.
I might add a weapon blacklist for anyone that might want it? I use that on my live server and it helps a bunch. Let me know if this is something people might be interested in.
I dont think thats a good idea. Most server run a blacklist script that bans everything. Not just weapons.
1 Like
By blacklist I mean using a taser, or fire extinguisher, or flare and so on… wont make you positive for GSR. More of a GSR Block List lol
Thats more a check list It checks if you used it or not Yea pls add that to the script. I think only weapons is more then enough. Taser etc.
1 Like
It’s too early for me right now haha. Yea basically that is what that is.
Script updated to v1.3
Someone asked me about the weapon “checklist” so I quickly added a basic version. Should work without issue. Add your weapons to the list in the config file.
Any problems, please respond here.
Thanks!
dabz
January 30, 2020, 10:53pm
94
{label = _U(‘gsr_test’), value = ‘gsr_test’}
you forgot the ’ after gsr_test in the read.me
1 Like
Ahhh thanks! I went ahead and edited that.
1 Like
CoolKid
February 1, 2020, 4:32pm
96
script works great but it says in police job menu no translation for gsr_test? it looks ugly anyone knowa fix?
2 Likes
Check the updated README. This section specifically:
local elements = {
{label = _U('id_card'), value = 'identity_card'},
{label = _U('search'), value = 'body_search'},
{label = _U('handcuff'), value = 'handcuff'},
{label = _U('drag'), value = 'drag'},
{label = _U('put_in_vehicle'), value = 'put_in_vehicle'},
{label = _U('out_the_vehicle'), value = 'out_the_vehicle'},
{label = _U('fine'), value = 'fine'},
{label = _U('unpaid_bills'), value = 'unpaid_bills'},
{label = _U('gsr_test'), value = 'gsr_test'}
There was simply a missing ’ symbol after ‘gsr_test’
The last line has been updated and all should work now
IF anyone has any other issues please use the “issues” section on the GitHub for this reasource.
would be great to have a video of this working
1 Like
is there a way to make it say which gun they fired when you test the person?
1 Like
I cant get the name part to work.
I’ve been trying to add some other code to see if that would work. But nope, it doesn’t fetch players character name from the database. So when you test someone, there is just a empty space.
Is this something you have intented to fix or does it come with a solution.
Best Regards,
goto locales in your police job and add the line: [‘gsr_test’] = ‘WHATeverYOUlikeITtoBE’,
Thanks for amazing script, the criminals cant wash the GSR off, it keeps saying, “stay in water to get clean” - is there a nice fix?
To be honest yes, and no it would take extra performance to do so, and would be a waste
But i can se the github repo is down not sure why - but ill make sure to add it again
1 Like