[ESX] Mobile Data Terminal | Reports, warrants, calls, searches & more

Pushed another update to fix this, download v0.3.

Works now for me! :slight_smile: Thx!

I have a question :sweat_smile: How can I publish a new report?, I don’t see the button

t

Not entirely sure why. The button appears when there is a name, title and details attached. I’ve just updated it so charges don’t have to be attached, that’s all I can think of.

Thx!

These errors maybe have something to do with it?

How do I access that highway patrol version?

1 Like

1m

That is just a different design. If you go to mdt>ui>styles> police.css. There you can change the mdt to which ever colors you would like! To change the badge at the top left you would need to go into the mdt > ui > badges folder. You would need to change police.png to which ever badge / logo you would like to use. I recommend renaming it the same “police.png” if you do change it. Also make sure its the same size as the original. You can change the picture in the bottom right by going to mdt > ui and changing the footer.png to which ever photo you like but once again I would make sure its the same size and I would rename it the same “footer.png”

Hi. It’s great! However I would like to ask … how I could remove the dependence on esx_kashacters?.

You would have to find alternative methods to search for characters in your database structure and replace the existing ones in sv_mdt.lua. If you’re still going to use MySQL, the syntax won’t change much. Just use Google for help.

Don’t forget to double check that all table values passed into the code by your database query match the existing ones.

Replace the contents of ui/styles/police.css with the version below and remove the suffix -fhp from all classes, or alternatively edit the getClass function in ui/script.js to:

getClass(element) {
  if (this.style.police) {
    return element + "-fhp"
  } 
}

I have a few of these as the MDT supports different stylesheets depending on your job. This will not replace the badge or text relevant to FHP. That’s something you have to edit in the code.
fhp.css (4.9 KB)

1 Like

is their a place to place tickets? or do you just place them in the create report?

Very interesting

Do you have it w/o kash acted

Is this connected in Fine?? When you use this and thefine the conviction will be get fines the player automatically?

I’ve gotten it working with es extended 1.2 and kashacters not having any issues with it now except theres no way to file the report of someone. Anyone fixed this yet?

1 Like

i dont use [kashacters] how can i make it run?

The submit report button isnt showing up for me after filling out all the info, any fix for this?

1 Like

Have you tried the most recent update? I believe it was fixed with that

Yep I just downloaded it

Nice MDT!

1 Like

Having the same issue, no submit report option.
Had to change a few sql commands inside server file to make it work without kashacters.

This might be the reason there is no option to sumbit?