Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Evidence Script for Forensic Analysis

By Leon Paul

FiveM Evidence Script for Forensic Analysis
On this page

Evidences by noobsystems is an item-based evidence script for police roleplay. Its README lists blood, fingerprints, bullets, casings, magazines and gunshot residue as evidence types. Officers secure traces at a scene and compare fingerprints and DNA on an evidence laptop against records of earlier offenders. The laptop also has a wiretap app for phone calls, radio channels and spy microphones placed on the map. The reviewed release is v1.3.1 from August 2026, licensed under GPL-3.0.

Requirements

The manifest declares OneSync, oxmysql, ox_lib, ox_inventory and ox_target as dependencies. The README asks for ESX Legacy, ND Framework, ox_core, Qbox or QBCore, started before the evidence script, or a custom framework added through the wiki guide. The repository contains integration files for esx, nd, ox, qb and qbx, and call wiretaps have bridges for lb-phone, npwd, roadphone and yseries. A comment in config.lua says the wiretap app requires pma-voice. The authors recommend their own ox_target fork for better targeting of vehicle doors. The script uses one started framework from that list; running several cores at once is not documented as supported.

A server without ox_inventory and ox_target cannot run this script as shipped. The Wasabi Advanced Evidence System covers blood, bullet and fingerprint evidence and lists ox_lib and oxmysql as its dependencies.

Installation

  1. Start ox_lib, oxmysql, ox_inventory, ox_target and your framework before the evidence resource.
  2. Copy the item definitions from one of the language files in .github/setup/ (en, de, es, cs, tr, fr or ja) into ox_inventory/data/items.lua.
  3. On ox_inventory older than 2.44.4, make evidence_box a container in ox_inventory/modules/items/containers.lua; the README uses 20 slots and a maximum weight of 5000.
  4. Download item_images.zip from the latest release and copy the images to ox_inventory/web/images/.
  5. Download evidences.zip from the same release, upload the evidences folder it contains to your resources and add ensure evidences to server.cfg.

Use the release archive, not GitHub's source code ZIP. At startup the server checks for html/dui/laptop/dist/index.html and stops if the built laptop interface is missing; the v1.3.1 evidences.zip contains it, the repository source does not. Keep the folder name evidences, because the item definitions call the script's exports under that name. Startup also stops when a required item is missing. That list includes collected_saliva for saliva DNA, which the README's evidence types do not name, and spy_microphone while the wiretap app is enabled.

The language follows the ox_lib convar setr ox:locale.

Configuration

config.permissions sets the jobs and minimum grades for picking up, placing and logging in to a laptop and for collecting evidence; the defaults allow police and fib from grade 0. config.wiretap has separate permission lists for calls, spy microphones and radio and keeps a log of every action in the wiretap app for one week by default (actionStorageDuration). Set config.wiretap.enabled to false if you do not use the wiretap app. config.isPedWearingGloves decides from the hand drawable whether a player leaves fingerprints. config.isPedCuffed and config.isPedDead decide when an officer can take DNA or fingerprints without the player's consent; adapt them if your police or death script uses its own cuffs or downed state. With config.citizens.synced on (the default), citizen records come from your framework and cannot be edited or deleted on the laptop; set it to false to have police register citizens by hand. config.firearmsRegistry switches the laptop's firearms registry app on or off. Gunshot residue decays on a cron schedule (decayCron, every 15 minutes by default), and config.logging is off by default. If you turn it on, choose ox_lib or discord as the service and check that events arrive.

Checks before going live

Raise the grade 0 defaults if trainees should not wiretap or log in to a laptop. Test fingerprints while wearing gloves from your own clothing packs, DNA comparison, a full evidence box and persistence after a restart. If the script does not start, the README points to the server console for missing dependencies and to GitHub Discussions for support.

Back up the database first: seven server modules create their own tables on startup. In v1.3.1, picking up a laptop returns an evidence_laptop item whenever the delete query runs without an error, even if no laptop matched the coordinates, and placing one checks only the job permission on the server, not that the player holds the item or stands near the spot. Add an inventory check and a one-time pickup before you rely on laptops. Evidence collection checks the job permission, free carrying space and a forensic kit, but the evidence details come from the client: test collecting, analysing and destroying evidence with two players. We read the v1.3.1 source and checked the release archive against its published SHA256; nothing was run on a FiveM server.

Sources

Evidences v1.3.1 release

Original source

Related server guide

  • View Twitch Chat In Game for FiveM

    View Twitch Chat In Game for FiveM

    ApolloStudios-TwitchIntegration provides an in-game browser interface for Twitch integration. In its client code, the twitch command gives the interface mouse and keyboard focus and sends ShowEverything. The stopUIControl callback releases focus. Those paths are the starting point for checking how players open and close the interface.

  • Yoda Tasks Task UI System for FiveM

    Yoda Tasks Task UI System for FiveM

    Review Yoda Tasks for FiveM: progress display exports, one-task state, simple-task API mismatches and input checks needed before integration.