Evidence

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.cfgenjoy...
Edit Functions means that the script can be integrated with any of yours, using this
Framework
Inventory
ox_inventory
Supported
qb-inventory
Supported
lj-inventory
Supported
ps-inventory
Supported
qs-inventory
Supported
tgiann-inventory
Supported
codem-inventory
Supported
Notify / ProgressBar etc.
Target
Screenshot
screenshot-basic
Optimal
Exports
Open Evidence
Parameters:
source (number, optional)
If calling from the server, add the
sourcevalue first, followed by the remaining parameters as usual.
idEvidence (number)
The ID of the specific evidence.
fullUI (boolean)
trueto display the full tablet UI,falseto show only the specific evidence.
Open Tablet
Parameters:
source (number, optional)
If calling from the server, add the
sourcevalue first, followed by the remaining parameters as usual.
tablet (boolean)
trueenables tablet mode, allowing Forensics and photo capture;falsedisables it.
Open UI
Parameters:
source (number, optional)
If calling from the server, add the
sourcevalue first, followed by the remaining parameters as usual.
tablet (boolean)
trueenables tablet mode, allowing Forensics and photo capture;falsedisables it.
Cancel Bleeding from Ped
Parameters:
source (number, optional)
If calling from the server, add the
sourcevalue 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
netIdof 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.
Creating Custom Evidence at Specific Coordinates
Parameters:
source (number, optional)
If calling from the server, add the
sourcevalue 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 inConfig.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
sourcevalue 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\imageicon 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/evidencefind the
custom.luafile
Paste this code:
edit the
redutzu-mdt/configfilefind the
config.luafileoverwrite the Config.Evidence entry in it as follows:
Restart the script and enjoy
Soon...
Last updated