Adjustments / Config

FRAMEWORK

Config.Framework = 'autodetect' -- esx, newqb, oldqb or autodetect

Autodetect finds your framework, you can set it manually if you want [esx-newqb-oldqb]

SQL

Write the sql script you are using here

If you are using mysql-async in fxmanifest, do not forget to delete oxmysql or put it in the comment line.

COMMAND / ITEM / CAMS

COMMAND

You can also change the command name or close the command.

(To disable it, simply write Config.Command = false)

ITEM

You can change it or turn it off in the same way

(To disable it, simply write Config.Item = false)

CAMS

You can change the key here.

Disable / Temp Disable / Enable Cam

Disable / Temp Disable

TriggerEvent('mgnPoliceMdt:disableCam',1) -- 1 = This is the camera index

If you want to disable a camera from another script

TriggerEvent('mgnPoliceMdt:tempDisableCam',50,1) -- 50 = 50 second , 1 = CamId

ENABLE

TriggerEvent('mgnPoliceMdt:enableCam',1) -- 1 = CamId

Discord Logs & Photos & Profile Picture

Logs & Photos

1 - ) Create a discord webhook

2 - ) Open server/discordlog.lua

3 - ) Paste your webhook in the photos and other discord logs section

Profile Picture

1 - ) Create a bottoken

2 - ) Open server/discordlog.lua

3 - ) Paste your bottoken in the bottoken section

Access Menu

You can specify according to the grade of the menu, i.e. according to the job grade

Config.MenuOpen and Config.MenuClose

When mdt opens, you can close your hud or another script from here

Chat BlackList Words

Here you can define words not to be used in the chat.

Notification

You can place your own notify system here

Add Call

Here you need to send a coordinate, the notification you send from another client side code falls into the calls section in mdt

Available Type:

Text : You can leave it blank or write the text that will appear in the calls section.

Invoices & Community Service & Jail

Adjustable in server/editabe.lua

Supported Scripts For Now

Invoices :

Jail :

Community Service :

Can be added in the future according to requests

Last updated