[PAID] [QB/ESX] r14-evidence | An expanded and enhanced evidence script for FiveM

You need to edit qb-police job. It’s VERY simple though.
R14 even provides a check list to make setup a breeze.
I highly recommend it.

Awesome! Remove paets of qb-policejob is easy, but the checklist makes it easier for sure!

Thanks!

1 Like

ESX + MF inventory please

When it comes to esx making it with ox inventory and ox_lib. I will 110% buy this. Script looks absolutely amazing bro.

early and experimental support for esx/ox is being finished up right now and will be included in the coming update, once it is more tested and stable i’ll make an update here

experimental esx support is coming in the next update, but I do not know about MF inventory support out of the box, there will be options to write custom functions for different inventories but would require you to write them or the script dev to do so

1 Like

interested, keep me updated please!

Just wanted to give a brief update, this script currently is distributed with two versions right now:

1.46 stable, the original version built for qb-core

1.51 beta, a still in testing updated version that offers support for ox-inventory and ox-lib, ESX framework support, and maintains qb-core comparability

If you are an ESX server admin and run ox_inventory, the script is functional from everything I have tested although still working on updating documentation and guides for integration with ESX resources.

If you are interested in beta testing, reach out via DM and would be happy to set you up with a copy as long as you are willing to provide performance/error information. - thank you for those that reached out, have plenty of volunteers now!

The beta test for the new ESX/ox_inventory conversion has gone super well, and with bug reports no longer coming in for QB or ESX users, I have went ahead and deprecated the old qb-specific build in favor of the current 1.54 release. The included documentation in the download has been updated to best reflect this release, and the online documentation will be updated in the coming days.

If you run ESX or just run ox_inventory with qb-core, and have been holding off then good news the current build is stable and has been working for current users and beta testers. If any issues come up, feel free to reach out to me and we will get it fixed!

1.54 (3/10/23)

    - deprecated 1.48 stable hotfix 2, if you need a copy of the depreceated version please open a ticket
    - updated installation guide
    - updated installation checklist
    - added esx/qb-core installation guides
    - added inventory images for evidence bags

This is an ancient question, but the latest version of the script now handles checking for gloves when triggered using the existing qb-core fingerprint trigger.

Best evidence resource out there even with it still being in development! Tons of features to better your police and criminal roleplay. I promise you won’t regret buying this!

1 Like

@cjsjs do you have a changelog for the latest update? :slight_smile: hoping it fixes my issue

Here you go, if it didn’t fix it just shoot me a DM with any error codes or description of the issue and I can see if I have any input/fix.

1.6 hotfix (3/24/2023)

    - fixed DNA swab kit causing an error when the server searched for a source that was a string
    - non-fingeprint evidence should no longer require a fingerprint kit to pick up
    - fixed fingerprint reader checking if the person using it was wearing gloves instead of the other player's ped
    - removed errant print statement

1.6 (3/24/2023)

    - fix for car casings being loaded from database causing an error when the script fails to match the weapon hash
    - removed 'or true' causing a debug print to always print for cars updating evidence in the database
    - removed unncessary code from vehicle fragment creation
    - fixed issue in car evidence creation that prevented server from keep track of car evidence in non-player owned vehicles
    - increased Wait() on the bucket handler loop to 2500 ms to decrease potential impacts on sever resources tracking routing buckets
    - added GetClosestPlayer() function to restore functionality for the check status radial wheel option for qb-core
    - fixed logic error causing non-mp_freemode peds specified in the config to have gloves to still leave fingerprints
    - ox_inventory exports now properly filter for the usedItem event and should not activate on item purchase anymore
    - for devs, the current weapon information is saved to the LocalPlayer state between resets for easier testing
    - unbagging evidence time reduced to 10 seconds for active law enforcement
    - added /searchvehicle command to allow police to conduct an evidence sweep while sitting inside a vehicle, will perform a basic hotwire animation
    - GSR test kits, DNA test kits, fingerprint reader, and drug test kits are now useable as items, they will test the closest person to the player
    - fingerprint reader will no longer read the fingerprint of a ped wearing gloves
    - first responders other than law enforcement may now use the evidence camera to view evidence with civilian tags 
    - added fingerprintkit, mikrosil, and fingerprinttape items for fingerprint collection
    - in the config you can now require police to use a fingerprint kit and either the mikrosil or fingerprint tape item to lift prints
    - when enabled, a progressbar will be triggered when collecting fingerprints 
    - fingerprints will no longer appear in the civilian evidence view, non-LEO first responders will not see fingerprints
    - car fingerprints are now automatically attached to either the exterior of the vehicle or the seat the player is occuping when it is created
    - when entering a vehicle, or changing seats within it, you will leave fingerprints if not wearing gloves
    - fingerprint creation in vehicle will be rate limited by the script based on fingerprint ID and the location, default lockout will be 5 minutes
    - added /createfingerprint for debugging, this command will generate a fingerprint or car fingerprint when used for easy testing
    - when using a firearm without wearing gloves, the shooter will leave fingerprints on the weapon
    - existing fingerprints on weapons you handle will be degraded whether or not you are wearing gloves
    - added microfibercloth item for cleaning fingerprints, added blox item that can be combined with it to clean blood
    - added /cleanweapon command that can be used to attempt and wipe down a weapon for fingerprints, can be disabled in the config in order to require a cloth item
    - using the microfiber cloth or /cleanweapon will open a menu that will allow you to wipe down your weapon, seat in a vehicle, or the surrounding area
    - when you have blox, or any other cleaning chemicals outlined in the config, you will have the option to use it to clean blood AND fingerprints
    - added config option to specify custom rag/cloth items or cleansers to enable evidence cleanup 
    - hitting someone with a melee weapon or shooting them at point blank range will deposit blood on the weapon used and players nearby to the victim
    - added /createlatentfingerprint and /createlatentblood for dev to test creation of weapon prints and blood
    - added debug prints to alcohol and drug event handlers that can be enabled in the config, this will print the arguments to the server console that are being recieved for easier setup```

Thank you so much for the fast reply. Working on implementing in dev environment right now. Will reach out if I have issues. Thank you for the changelog!

Would love to see QS added as a known compatible inventory system.

If you are on qb-core and there is a bridge, I should work out of the box. If not all the inventory functions are on the config and can be modified. I think a few users have qs-inventory, but it is an escrowed script so personally I am not gonna write the functions to integrate it. If the qs team wants to I will add it to the config but that’s would meed to be requested from them.

1 Like

New update has been pushed this weekend adding support for esx_garage for ESX users, fixed some minor bugs, and has added the ability to directly upload images taken by the camera included in the script to ps-mdt or drx_mdw!

1.62 (4/24/2023)

- updated vehicle garage integration (Config.VehInAndOut) for ESX users with the default esx_garage resource
- added support for accessing subfields for vehinandout arguments
- camera can now automatically upload photos to reports on ps-mdt and drx_mdw
- carwash text ui should now be removed properly when leaving the carwash
- hopefully, finally, fixed issues with blank SD cards being renamed causing an error when accessing a nil value
- sd card should now display its name and allow you to rename it instead of forcing a rename
- added option to setup weapon calibers in the r14-evidence config instead of updating shared/weapons.lua or data/weapons.lua
- script will yell at all users, client console, and server console on startup if a firearm in items/weapons is missing in the caliber config 
- fixed issue loading photos with ox_inventory due to use of deprecated .info field
- standalone inventory can now set a custom metadata field
- updated online documentation at regalonefour.github.io
- added notification when uploading photo to image space
- attempting to upload to a MDT/MDW report will return a success or failure notification
- added check if filled_evidence_bag has been made useable on qb-core/qb-inventory

The video showcase has finally been updated and can be found here! Doesn’t cover everything but shows of the current performance and new features.

where does the webhook go

The webhooks for the camera go in the /server/nikon.lua