r14-evidence [Early

34.99 USD

An expanded, in-depth evidence system intended to enhance police roleplay and provided numerous quality of life changes. This is an EARLY ACCESS resource and may include bugs not yet discovered during initial and beta testing.

Warning:

This script is not drag and drop. It is recommended that you have some experience with lua scripting, or consult a dev who does, before purchase and installation. You will need to make edits to key resources, and your database, to install this script.

VIDEO PREVIEW

About The Script:

This script is in early access, it has undergone extensive testing by myself and beta testers, but may still generate errors in live server environments. Bug fixes, as well as updates, are in active development.  What is included is a near-complete refactor of the qb-policejob/client/evidence.lua used in standard qb-core. It was built by a cop roleplayer with 1000 hours+ of experience with FiveM law enforcement and the drawbacks of current evidence systems. It is intended to massively improve the quality of life of cop roleplayers, and provide additional evidence that police can collect and use in roleplay in cop-vs-criminal scenarios.

It is intended to be as bug-free, functional, and easy to use as possible. It features disconnect persistence, entity bucket routing support, and copy-paste functionality for evidence pickups. Every attempt has been made to optimize the script as well, and at idle and on standard crime scenes, and usually outperforms qb-policejob by employing multiple caching threads to reduce the per framerate workload. Future updates will include new items and functionality, as well as bug fixes.

This script is not encrypted/obfuscated. You are free to edit it and modify it to suit your needs, and use its contents to improve other scripts. As always, please do not resell the code inside.

Included:

  • DLSR-style camera, usable both on foot and in vehicles, for crime scene documentation and surveillance with discord webhook integration to automatically upload photos to both PD-specific evidence, and general non-PD photo channels.
  • Blood, fingerprint, bullet casing, and vehicle fragment evidence pickups.
  • Bullet impact evidence, with angle-of-impact evidence for non-ped impacts, and attachment to the damaged entity bone on ped impacts.
  • Copy/paste functionality for evidence bags, and the ability for police to notate them.
  • Lock tampering evidence that can be set up to indicate attempted or successful/attempted lockpicking or hacking
  • Vehicle evidence, including blood, casings, and fingerprints that are automatically saved to the vehicle database
  • Frisk and other police actions usable via qb-target
  • Routing bucket support for evidence, disconnect persistence, and configurable evidence duration

Dependencies:

  • Framework: QB-Core or ESX (requires ox_inventory) by default. Config functions allows integration for any framework that supports a unique character identifier
  • Inventory: qb-inventory or ox_inventory by default. Config functions allow integration for similar inventory systems that support item metadata
  • Context/Input Menu: qb-menu/input, ox_lib
  • Targeting Resource: qb-target, ox_target
  • Screenshot: secreenshot-basic
  • Database: oxmysql

Known Bugs:

  • Bullet impact evidence only attaches to entities when they are not dead or fully destroyed, the existing natives used by this script are unable to accurately attach evidence to entities which are not able to take damage. If a fix is found, it will be implemented.

Performance:

  • Idle performance should now hovers around 0.01 - 0.02 ms.
  • Average performance on typical crime scene with lots of evidence hoves around 0.30 to 0.40 ms.
  • Extreme performance on the most evidence dense crime scenes tends to peak about 1.0 ms.