i was trying and the full name and surname but didin’t work, just show the finding
If your characters are saved in a different table, you will have to edit the SQL statements in sv_mdt.lua
to select from the correct place. The installation does say that you should use the release version of esx_identity which stores characters in a table named characters
.
Can’t submit the report. Database contains what it needs…
LOL this NoPixel MDT
Its not the same one its similar not exact tho…
Please follow these steps:
If you are using a table named users
to store characters and this table already has a column named identifier
as a primary key, you will have to use this edited file of sv_mdt.lua
and use the database structure below for step 2.
sv_mdt.lua (23.8 KB)
user_mdt.sql (1.4 KB)
Now works!
Using users and with these files works 100%.
Th u vmuch! ^^
It seems with your modified version when I perform a player search it selects the top entry in the list no matter what I select
I don’t quite understand, could you send me an example please?
Thanks, now it’s working perfect
Calls for me still are not going the cad its so weird.
Hi. I’ve changed in the
“sv_mdt”, the lines corresponding to “characters”, since we don’t use that table. However, even though I make the changes, the tablet does not register the officer in question at the top and when I try to generate a new report, the button to create such report does not appear. Can you help me identify what I am doing wrong or what I need to do?
Please actually read through the previous questions to check if someone else has already asked about this. Follow the steps below.
Search the event in your gcphone and replace with:
RegisterServerEvent('gcphone:sendMessage')
AddEventHandler('gcphone:sendMessage', function(phoneNumber, message)
local _source = source
local sourcePlayer = tonumber(_source)
xPlayer = ESX.GetPlayerFromId(_source)
identifier = xPlayer.identifier
addMessage(sourcePlayer, identifier, phoneNumber, message)
local persoon = GetPlayerPed(_source)
local gezien = GetEntityCoords(persoon)
local jezus = ESX.GetPlayerFromId(_source)
local ok = jezus.getName(_source)
if phoneNumber == 'police' then
TriggerEvent("mdt:newCall", message, ok, vector3(gezien.x, gezien.y, gezien.z))
end
end)
Hello, individuals of this thread, if you wish to use this mdt with a some realistic tablet look, you may use this code, which I have integrated into my redevelopment of this mdt.
For this to work, first we need to download this tablet.png file (https://mega.nz/file/Qo9hFATB#HZtPaSv3YaE-jD9TKFxq9FriiqOezOc7IpcPGox502s)
Now, that you have downloaded this make a new folder inside your coding software with the name (img) and insert the tablet.png into that folder, and you are ready for the next steps
HTML
Place this code in the index.html under the div id=“container”
<img src="img/ipad.png" id="ipad">
CSS
Head to main.css and inplement this code.
#ipad {
position: absolute;
width: 106.94%;
height: 109%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
If you have any questions, you may reply to this message,
Regards,
Aaron
Update:
For those wondering, I quickly just built a html and css tablet, to allow you to see what the actual tablet border around the mdt looks like.
There’s no picture of the tablet for us to see lol
Sorry, I understand what you mean, unfortunately I won’t upload any images of my mdt, just incase anyone tries to replicate