Evidence

Trailerarrow-up-right

Showcasearrow-up-right

BUY HEREarrow-up-right

General benefits and script support

Dependencies & Installation

  • Insert icons and items into your invatars which you can find in d_labs_evidence\items

  • Put the script in the server and add ensure "script_name" to server.cfg

  • enjoy...

circle-info

Edit Functions means that the script can be integrated with any of yours, using this

Framework

Resource
Status

qbx_core

Supported

ESX

Supported

QB-Core

Supported

OX-Core

Supported

Inventory

Resource
Status

ox_inventory

Supported

qb-inventory

Supported

lj-inventory

Supported

ps-inventory

Supported

qs-inventory

Supported

tgiann-inventory

Supported

codem-inventory

Supported

Notify / ProgressBar etc.

Resource
Status

ox_lib

Supported

based on the framework

Supported

Target

Resource
Status

ox_target

Supported

qb-target

Supported

basic gta input

Supported

Screenshot

Resource
Status

screenshot-basic

Optimal

Exports

Open Evidence

Parameters:

  • source (number, optional)

    • If calling from the server, add the source value first, followed by the remaining parameters as usual.

  • idEvidence (number)

    • The ID of the specific evidence.

  • fullUI (boolean)

    • true to display the full tablet UI, false to show only the specific evidence.


Open Tablet

Parameters:

  • source (number, optional)

    • If calling from the server, add the source value first, followed by the remaining parameters as usual.

  • tablet (boolean)

    • true enables tablet mode, allowing Forensics and photo capture; false disables it.


Open UI

Parameters:

  • source (number, optional)

    • If calling from the server, add the source value first, followed by the remaining parameters as usual.

  • tablet (boolean)

    • true enables tablet mode, allowing Forensics and photo capture; false disables it.


Cancel Bleeding from Ped

Parameters:

  • source (number, optional)

    • If calling from the server, add the source value first, followed by the remaining parameters as usual.

  • This function can be used to interfere with the custom bloodletting logic.


Repairing Vehicle (Removing Bullets)

Parameters:

  • netId (number)

    • The netId of the vehicle entity.

This function can be called from both the client and server in the same way, as it does not rely on source.

chevron-rightExample Usagehashtag

Creating Custom Evidence at Specific Coordinates

Parameters:

  • source (number, optional)

    • If calling from the server, add the source value first, followed by the remaining parameters as usual.

  • class (string)

    • Specifies the type of evidence:

      • "Projectile"

      • "Cartridge"

      • "Blood"

      • "Fingerprints"

      • "Fragments"

  • classType (string)

    • A subcategory related to class, defined in Config.Templates.

  • label (string)

    • The label of the evidence, which will be displayed in the menu.

  • weaponHash (string)

    • The weapon hash used for game evaluation.

  • weaponSerial (string)

    • The serial number of the weapon.


Adding a person record of DNA testing or fingerprinting

Parameters:

  • source (number, optional)

    • If calling from the server, add the source value first, followed by the remaining parameters as usual.

  • finger (boolean)

    • whether you want to add a record of the fingerprint taken

    • true / false

  • dna (boolean)

    • whether you want to add a record of the dna taken

    • true / false

  • ofc (string)

    • The name or description of the office that will be listed for the subscription can be left as nil.


Custom NUI icon

PNG

  • You can upload the icon to the script in this way

    • d_labs_evidence\html\image

    • icon must be .png

  • in config.lua edit the icon name according to the file

    • icon = 'projectile.png'

fas icon

  • just pick an icon here https://fontawesome.com/icons

    • icon = 'fa-solid fa-droplet'

MDT integrations

  • Go this way redutzu-mdt/server/custom/evidence

    • find the custom.lua file

  • Paste this code:

  • edit the redutzu-mdt/config file

    • find the config.lua file

    • overwrite the Config.Evidence entry in it as follows:

  • Restart the script and enjoy


Last updated