> For the complete documentation index, see [llms.txt](https://tk-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk-scripts.gitbook.io/docs/tk_evidence.md).

# tk\_evidence

Evidence adds casings, blood, fingerprints and gunshot residue that police collect and analyse on a FiveM server.

Evidence supports ESX, QBCore and Qbox with ox\_inventory, qb-inventory or qs-inventory. You choose which actions leave evidence and where officers analyse it. Inside a vehicle, the UV light finds the fingerprints of its last driver who was not police and wore no gloves.

[Realistic Evidence System V2 product page](https://tkscripts.com/scripts/evidence?utm_source=gitbook\&utm_medium=docs\&utm_content=evidence) | [Subscription plans](https://tkscripts.com/subscriptions?utm_source=gitbook\&utm_medium=docs\&utm_content=evidence) | [Watch the showcase on YouTube](https://www.youtube.com/watch?v=ciIj5C27T2Y) | [Install Evidence](https://tk-scripts.gitbook.io/docs/tk_evidence/installation.md)

{% embed url="<https://www.youtube.com/watch?v=ciIj5C27T2Y>" %}
Evidence showcase (2 min 9 s).
{% endembed %}

## Features

### Evidence types

* Bullet casings, bullet fragments and bullet holes
* Blood samples and fingerprints
* Other custom evidence, added through [exports](https://tk-scripts.gitbook.io/docs/tk_evidence/exports.md)

### Evidence collection

* Shooting, getting damaged and driving leave evidence visible with a flashlight (configurable)
* Collecting evidence gives it to the player as an item
* Collected evidence can be analysed for more information

### Evidence analysis

* Police analyse evidence at configured places
* Analysis reveals DNA, weapon name and weapon serial number
* 3D view of the evidence, or a plain text window instead

### Scene reconstruction

* A camera reconstructs the scene at the officer's current position
* Shows all evidence with labels and positions
* The analysis menu shows the evidence inside a 3D world in the UI

### Lockers and tags

* Lockers with custom names to put evidence in and take it out
* Set tags for evidence

### Gunshot residue (GSR)

* Shooting a weapon leaves GSR on your hands
* Police test for GSR with a GSR test kit
* Players remove GSR with a GSR cloth or by washing their hands in water

### MDT and fingerprint options

* `Config.UseMDT` registers evidence to tk\_mdt automatically
* `Config.UseFingerprintSystem` makes police scan a player's fingerprints before their name shows in evidence data

### Fingerprints in vehicles

* The UV light finds evidence inside vehicles; normal evidence shows with the regular flashlight
* Fingerprints appear in a vehicle when a non-police player without gloves has driven it

### Inventories, targets and languages

* Inventories: ox\_inventory, qb-inventory, qs-inventory or custom
* Targets: ox\_target, qb-target or custom
* English and Finnish included, translatable

## Requirements

| Item      | Supported                                                                     |
| --------- | ----------------------------------------------------------------------------- |
| Framework | ESX, QBCore, Qbox. Another framework works after editing the framework files. |
| Database  | oxmysql or mysql-async                                                        |
| Inventory | ox\_inventory, qb-inventory, qs-inventory, or the default ESX inventory       |
| Target    | ox\_target or qb-target (optional)                                            |
| Languages | English, Finnish                                                              |

With `Config.UseMDT = true`, evidence put in a locker is registered in [MDT](https://tk-scripts.gitbook.io/docs/tk_mdt.md), sold separately ([MDT product page](https://tkscripts.com/scripts/mdt?utm_source=gitbook\&utm_medium=docs\&utm_content=evidence)). Every dependency and its start order: [Evidence installation](https://tk-scripts.gitbook.io/docs/tk_evidence/installation.md#requirements).

[Realistic Evidence System V2 product page](https://tkscripts.com/scripts/evidence?utm_source=gitbook\&utm_medium=docs\&utm_content=evidence)

## Start here

* [Install Evidence](https://tk-scripts.gitbook.io/docs/tk_evidence/installation.md)
* [Update without losing your config](https://tk-scripts.gitbook.io/docs/tk_evidence/installation.md#update-without-losing-your-config)
* [Set police jobs, analysis spots and evidence timers](https://tk-scripts.gitbook.io/docs/tk_evidence/config.md)
* [Add evidence from other resources with the exports](https://tk-scripts.gitbook.io/docs/tk_evidence/exports.md)
* [Fix common problems](https://tk-scripts.gitbook.io/docs/tk_evidence/common-problems-and-questions.md)

Support: open a ticket in the [TK Scripts Discord](https://discord.gg/YndnF9tkqu).
