---
description: Check the instructions below.
---

# Configuration

{% tabs %}
{% tab title="config.lua" %}
* Set your sql script

```lua
Config.SQLScript = "oxmysql" -- oxmysql // ghmattimysql // mysql-async
```

* Set your framework

```lua
Config.Framework = "newqb" -- old-qb // esx // newesx  // standalone
```

* Script check the players health every 5 seconds default. You can set chhange this here.

```lua
Config.BloodDropInterval = 5, -- seconds
```

* You can change the interaction key here. Default is "E".

```lua
Config.InteractKey = 46
```

* You can set the flashlight as a requirement here.

```lua
Config.MustCheckWithFlashlight= true -- true // false
```

* Set if the authorized jobs will drop evidence too.

```lua
AuthorizedJobsShouldDrop = {
        blood = false,
        casing = false,
        bulletcore = false,
},
```

* Set authorized jobs. These jobs can only see the dropped evidences.

```lua
AuthorizedJobs = {
        ["police"] = true,
        ["ambulance"] = true,
},
```

* Set the coords of examination points. Here is an example below:

```lua
["ballistic"] = {
    coords = {
        vector3(437.6529, -994.524, 30.689),
    },
    label = "Ballistic Examination",
    distance = 1.5,
},
```

* Set the coordinate of access to the main evidence database menu.

```lua
OpenMenuCoords = {
        vector3(437.3485, -996.558, 31.057),
},
```

* Don't forget to set weapon categories

```lua
Config.WeaponCategories = {
    [`weapon_pistol`] = "pistol",
    [`weapon_assaultrifle_mk2`] = "rifle",
    [`weapon_minismg`] = "smg",
}
```
{% endtab %}
{% endtabs %}



{% hint style="danger" %}
Fatal index must be 4 or 6. This index is changing depend on your server build. We don't know which build supports which index but if the script does not work without any errors, try to change the index to 4 or 6.
{% endhint %}
