ui changes to app.js for profile tab Mar 15, 2023 LICENSE Add files via upload Feb 6, 2023 README.md Update README.md Mar 20, 2023 fxmanifest.lua Update fxmanifest.lua Mar 20, 2023 mdt.sql Add unique key Nov 14, 2022 Repository files navigation README License Project Sloth MDT For...
function ProfPic(gender, profilepic) if profilepic then return profilepic end; if gender == "f" then return "img/female.png" end; return "img/male.png" end function IsJobAllowedToMDT(job) if Config.PoliceJobs[job] then return true elseif Config.AmbulanceJobs[job] then return true else...
FINGERPRINTS NEEDS TO BE ADDED TO THE PROFILE AND SAVED IT NO LONGERS ADDS THEM AUTOMATICALLY BASED ON 1+ CONVICTION FINGERPRINTS NEEDS TO BE ADDED TO THE PROFILE AND SAVED IT NO LONGERS ADDS THEM AUTOMATICALLY BASED ON 1+ CONVICTION Run this on your current database: ALTER TABLE `mdt_data...
$(".manage-profile-name-input-1").val(result["firstname"]); $(".manage-profile-name-input-2").val(result["lastname"]); $(".manage-profile-dob-input").val(result["dob"]); $(".manage-profile-fingerprint-input").val(result["fingerprint"]); $(".manage-profile-phonenumber-input")...
let newpfp = $(".manage-profile-url-input").val(); if (newpfp.includes("base64")) { newpfp = "img/not-found.jpg"; newpfp = "img/not-found.webp"; } else { pfp = newpfp; } @@ -1227,7 +1227,7 @@ $(document).ready(() => { if (URL !== "") { let randomNum =...
print("Vehicle not found for profile:", vehicle['vehicle']) -- Do not remove print, is a guide for a nil error. print("Make sure the profile you're trying to load has all cars added to the core under vehicles.lua.") -- Do not remove print, is a guide for a nil error. ...
@@ -341,17 +341,34 @@ QBCore.Functions.CreateCallback('mdt:server:GetProfileData', function(source, cblocal apartmentData = GetPlayerApartment(target.citizenid)if Config.UsingDefaultQBApartments and apartmentData then if apartmentData[1] then ...
DOB Fingerprint Phone Number
$(".manage-profile-name-input-1").attr("readonly", true); @@ -5060,6 +5099,9 @@ function fidgetSpinner(page) { if (page == ".incidents-page-container") { $.post(`https://${GetParentResourceName()}/getAllIncidents`, JSON.stringify({})); } if (page == ".map-page-container...
$(".manage-profile-name-input-1").val(result["firstname"]); $(".manage-profile-name-input-2").val(result["lastname"]); $(".manage-profile-dob-input").val(result["dob"]); if (convictions.length >= 1) { if (AmbulanceJobs[playerJob] !== undefined) { $(".manage-profile-finger...