QBCore - Ps-MDT | Install & Showcase | FiveM Tutorial 2023

Поділитися
Вставка
  • Опубліковано 9 лют 2025
  • Today's video covers the install and showcase of ps-mdt, a resource created by Project Sloth. Some features require a radar resource created by WolfKnight98 which is down below. I hope you enjoy the video. I reuploaded this and corrected the error. Weapons will automatically register when bought from ammunation
    LINKS:
    Ps-Mdt Resource - github.com/Pro...
    Ps-Dispatch Install Video - • QBCore - PS- Dispatch ...
    WolfKnight Radar - github.com/Wol...
    Discord - / discord
    SNIPPETS:
    WEAPON SELF REGISTER SNIPPET:
    Go to your qb-target - init.lua and go to "Config.CircleZones" and paste this in.
    ["weapReg"] = {
    name = "registerWeapon",
    coords = vector3(440.61, -981.13, 30.69),
    radius = 2.5,
    debugPoly = false,
    options = {
    {
    num = 1,
    type = "client",
    event = "ps-mdt:client:selfregister",
    icon = 'fa-solid fa-check', -- This is the icon that will display next to this trigger option
    label = 'Register your Weapon',
    targeticon = 'fa-solid fa-gun',
    }
    },
    distance = 2.5,
    },
    RADIAL MENU SNIPPET:
    id = 'trafficstop',
    title = 'Traffic Stop Alert',
    icon = 'user-lock',
    type = 'client',
    event = 'ps-mdt:client:trafficStop',
    shouldClose = true
    }, {

КОМЕНТАРІ • 114

  • @bobbydigital18
    @bobbydigital18 Рік тому +5

    Great vid! The only problem i had was replacing line 2112-2148. it messed my inventory up to where i could not pull out hand cuffs from the armory, along with other inventory issues. I had to revert to the back-up lua file for now. Both this vid and the ps-dispatch video you did helped me out a TON, THANK YOU

    • @kamarynkamaryn
      @kamarynkamaryn  Рік тому +2

      The numbers could be different for you. Just find the original event and replace it with the snippet they provided in the readme

    • @bobbydigital18
      @bobbydigital18 Рік тому

      @@kamarynkamaryn will do thanks again for your help and response 👍

    • @koawhkaine
      @koawhkaine Рік тому

      as of the Nov 2023- i think its line 2121 - 2143 or something like that. Youll see a section that starts with the same piece, and then ends right before "else if player. functions.removemoney('cash', price, "unknown-itemshop-bought-item') then ...

  • @missychantel21
    @missychantel21 Рік тому +3

    your amazing your slow at explaining things and ive been trying to learn how to install scripts and mlos thank you for this video just created my new server

  • @TreezyServes12
    @TreezyServes12 4 місяці тому +1

    Hey man great video! I've found all of your videos helpful. I'm new in the QB core dev world so thank you for making good content that easy to understand for the most part. If I could recommend anything it would be for you to slow down just a little while explaining this, you move through step fast and sometimes I find it hard to keep up.

    • @kamarynkamaryn
      @kamarynkamaryn  4 місяці тому

      @@TreezyServes12 Hi thank you for watching! If you are having trouble following slow the video down or rewatch the step. I will also mention any information i say can be found in the readme

  • @jzosmooth2540
    @jzosmooth2540 Рік тому +2

    Your the Best bro, it works perfectly...Thanks a Million💯👍👍

  • @KrakenExEsp
    @KrakenExEsp Рік тому +1

    thank you very much I just started and I'm with a server and you help me a lot you are a great by the way we see you from spain jejej

  • @freddcop
    @freddcop Рік тому +3

    Friend, I don't get the alert when I press traffic stop, neither for me nor for my colleagues. I have the latest version of MDT

    • @kamarynkamaryn
      @kamarynkamaryn  Рік тому

      Make sure you have the plate reader on and the radar

  • @iorangechicken4283
    @iorangechicken4283 Рік тому +2

    my mdt doenst even open? but at my tx it says that its started /mdt doenst working

    • @hauq-kr9ez
      @hauq-kr9ez 11 місяців тому

      you ever got this working?

  • @shoo_nl
    @shoo_nl 6 місяців тому

    good video, u have any info on how to add a profile pic in the mdt ? i tried alot of things but most didnt work

  • @lobo61259
    @lobo61259 Місяць тому

    When I try to jail someone the camera just stays stuck on the mugshot forever and shows no error on the server or on the client consoles... Any idea?

  • @JulieWhiteJusticeJulie
    @JulieWhiteJusticeJulie 2 місяці тому

    ive got the heidi sql programme but am unsure how to link it to my server to do these configs, any help hun?

  • @ItzzJD_YT
    @ItzzJD_YT 11 місяців тому

    Hey bro so i seen that you have the sign on and off duty for the police. Is that a different script or do I setup that through this script?

  • @WayneRigney
    @WayneRigney 10 місяців тому +3

    You need to make an updated version of this. The inventory is different with the app.js file. So other people who are installing this that do not want to use the ps-inventory or they just want to use the default qb-inventory. I figured out how to do it. Other people might have a problem with that.

    • @twowheelbandits
      @twowheelbandits 9 місяців тому

      how you figure it out using qb inventory?

    • @jugghmc
      @jugghmc 9 місяців тому

      @WayneRigney what's the steps for ox_inventory

    • @jugghmc
      @jugghmc 9 місяців тому

      Yo

  • @MrChristianusc
    @MrChristianusc 3 місяці тому

    running into an error that wont allow me to save reports or bolos. Any fixes?

  • @brandonbigness5987
    @brandonbigness5987 17 днів тому

    i can not find the markedbills do i need to update something

  • @travdaddy777
    @travdaddy777 10 місяців тому

    Is it possible to see other on duty officers on map? Can't find the option anywhere in the config.

  • @cptmorgs
    @cptmorgs Рік тому

    is there anyway you could show how to add extra notifications for things like vehicle boosting and boii-drug selling calls

  • @musician96gaming34
    @musician96gaming34 Рік тому

    So followed all the steps everything is up to date some parts i use ox inventory and then switched to ps inventory, most of it works well. However my cameras dont go to the location it just closes out my table and mdt screen, i cannot register and weapons so im kinda stuck

  • @satangaming11
    @satangaming11 Рік тому +3

    Can you explain how to install thefts, such as a jewelry robbery and a bank Robbery And Thanks Bro 🔥

  • @mojojojo9276
    @mojojojo9276 Рік тому +7

    I followed the steps in the video exactly how you did, but now whenever I join the server I get nothing but a black screen

    • @TreyEuell
      @TreyEuell 10 місяців тому

      something to do with your qb-target

  • @koawhkaine
    @koawhkaine Рік тому

    Not sure which PS video to ask this under, because of trhe way it might be scripted = Do the traffic cameras, when issuing fines - does it create an entry in sql? My goal is to have all fines logged to player table either for cummulative, or as rows, or a table for mod, that brings in player name. Or is this something that ties only to car and not player? My objective is being able to export reports from sql- one of them being ongoing traacking of total fines paid by all players.

  • @CalebGaming2595
    @CalebGaming2595 Рік тому +2

    I'm new to all of this how do I do the sql like where you use the hs app I don't have that?

    • @Bmore4710
      @Bmore4710 9 місяців тому

      trying to find this out myself

    • @CalebGaming2595
      @CalebGaming2595 9 місяців тому

      @@Bmore4710 I know this is a long time ago but I found out how if you need help still

    • @andrewdunning6488
      @andrewdunning6488 9 місяців тому

      @@CalebGaming2595 I was actually just looking for how to do this lol. I am using xampp for my SQL so I don't know how heidi_sql works into this

  • @aura_development
    @aura_development Рік тому

    For the registration part, Do i have to put it in? Because i want it so only police can register weapons.

  • @aldricksubhan1779
    @aldricksubhan1779 2 місяці тому

    why on u have community service? because latest version not have that

  • @therealmissouri
    @therealmissouri 10 місяців тому

    how do you enable third party cookies for the Roster and SOPs ???

  • @hyp-f9u
    @hyp-f9u 5 місяців тому

    awesome video. the only part that isnt working is when i jail through the mdt, it takes the mugshot but dosent send them after.
    im using ps mdt and pickle prisons

    • @kamarynkamaryn
      @kamarynkamaryn  5 місяців тому

      @@hyp-f9u You need to edit the code in the mdt. It uses the default jailing event from qb-policejob

  • @JmoneyBMK
    @JmoneyBMK Рік тому

    i dont have the markedbills...what do i do then?

  • @YANECHANNEL
    @YANECHANNEL Рік тому

    How to active department unit like BCSO and anything?

  • @Kims2w92s
    @Kims2w92s Рік тому

    thank you
    😍🥰🥰🥰🥰

  • @cornishgamer9809
    @cornishgamer9809 11 місяців тому +1

    I am getting an error when trying to search someone in the MDT, Can you help?

    • @masterop1458
      @masterop1458 28 днів тому

      same issue with mine ...is there any solution ?

  • @latinboygaming3144
    @latinboygaming3144 Рік тому

    I can only edit finger print / image on profiles. Anyone know why?

  • @michaelmurray9928
    @michaelmurray9928 10 місяців тому

    Any way to change the size of the MDT screen?

  • @vexxydevs
    @vexxydevs Рік тому

    Hello my favourite youtuber ;)

  • @ItsAdrazA
    @ItsAdrazA 10 місяців тому

    I did everything and even the updated fixes. After character selection its just a black loading screen.

    • @mindresiliant
      @mindresiliant 9 місяців тому

      thats what i had and i had to reset server

  • @Solanoid
    @Solanoid Рік тому +1

    when i select my person it then sends me to a black loading screen

  • @mouad4388
    @mouad4388 11 місяців тому

    i cant find else if marked bills on app file pleaase help

  • @_DapperOdog_
    @_DapperOdog_ Рік тому

    When I try to go on duty as a police officer and I click e it doesn’t do anything I just stay off duty

  • @wafal_15
    @wafal_15 11 місяців тому

    Hello , can I delete the incidents after ?

  • @solo_la_fam
    @solo_la_fam 5 місяців тому

    did as you said and in the app.js. Should be somewhere around markedbills i dont see markedbills

    • @kamarynkamaryn
      @kamarynkamaryn  5 місяців тому

      @@solo_la_fam That code was removed in one of the inventory updates. Its been gone for a while

    • @raymondthornton4284
      @raymondthornton4284 11 днів тому

      @@kamarynkamaryn so where do you add the citation code now if that marked bills code was removed ??

  • @GoldenTeam2.0
    @GoldenTeam2.0 Рік тому

    It doesn't worked for me :( Could you please help me somehow

  • @iikraze9864
    @iikraze9864 Рік тому

    for some reason i have tried installing this 5 times, following your instructions and every time i select my character to load i get a black loading screen

  • @MAylordadas
    @MAylordadas Рік тому

    For some reason when i pick my character it black screens right after, with a white circle at the buttom right?? Any fix>?

    • @kamarynkamaryn
      @kamarynkamaryn  Рік тому

      Do u have any errors? It also could be u did the inventory portion wrong

    • @MAylordadas
      @MAylordadas Рік тому

      @@kamarynkamaryn No errors when i hit f8 the line starts blinking very fast.

    • @Salty_Kingston
      @Salty_Kingston Рік тому

      yeah i got the same no error or anything had to restore from my backup

    • @roninplayzvr8604
      @roninplayzvr8604 Рік тому

      @@Salty_Kingston how do you restore from backup

    • @Caribbean-Dream242
      @Caribbean-Dream242 Рік тому

      Same thing happened to me now ive removed the resource and removed it from t server.fg and its still giving me the blank screen.

  • @techwitholiver
    @techwitholiver Рік тому

    Will this work for ox_inventory ?

  • @ChadWorthington-po3dc
    @ChadWorthington-po3dc Рік тому

    I dont have a marked money in mine. HELPPPP

  • @alper12784
    @alper12784 Рік тому

    when i do jail is doesnt send them to jail

  • @LeonCha23
    @LeonCha23 Рік тому

    Does community service work??

  • @soesslive
    @soesslive Рік тому

    Can you show us how to add and stream custom clothing pack

    • @colton9809
      @colton9809 Рік тому

      Eup? I am very familiar in that dept if u need help still

  • @imsymes1992
    @imsymes1992 Рік тому +2

    This tutorial is unfortunately outdated. Especially when it comes to the citation part.

    • @kamarynkamaryn
      @kamarynkamaryn  Рік тому

      Well it was made 8 months ago there have been many changes

    • @IamDanielPeter
      @IamDanielPeter 11 місяців тому +2

      Right. They gotta create an updated installation unfortunately. Hopefully soon. You can always have your fingers crossed lol.

  • @hunterpietrowski2686
    @hunterpietrowski2686 Рік тому

    what software do i use to run sql

    • @rubenfen5731
      @rubenfen5731 Рік тому

      HeidiSQL is a good option, phpmysql is another option too.

  • @Designs033
    @Designs033 7 місяців тому

    sql import error

  • @tylerplayz7991
    @tylerplayz7991 2 місяці тому

    I don't even see it in my

  • @mamimomikuto8275
    @mamimomikuto8275 Рік тому

    10:13 grant license not working man.

    • @kamarynkamaryn
      @kamarynkamaryn  Рік тому

      Which license is it? If its the weapon license u have to be a certain grade

  • @thisguyyuki
    @thisguyyuki 3 місяці тому

    how do i add penal codes

    • @kamarynkamaryn
      @kamarynkamaryn  3 місяці тому

      In the config theres a section for it. You can edit the ones that are already there. When you create an incident report and go to add charges, thats where the information comes from

  • @dionbowen99
    @dionbowen99 Рік тому +1

    jailing is scuffed

    • @kamarynkamaryn
      @kamarynkamaryn  Рік тому

      In the readme they tell you what to do if its messed up

  • @eagle1superman
    @eagle1superman Рік тому

    so i get an script error: ps-mdt/client/main.lua:95 attempt to call a nil value (global 'GetJobType') any idea how to fix it

    • @ItzSippp
      @ItzSippp Рік тому

      You may need to specify which job it needs to work with.

    • @Sv3nh_0i
      @Sv3nh_0i 3 місяці тому

      @@ItzSippphow can I specify it?

  • @Matthew.1994
    @Matthew.1994 Рік тому

    i get this error after installation:
    @qb-core/esrver/player.lua:188: No such export LoadInventory in resource qb-inventory

  • @dirkpienaar8521
    @dirkpienaar8521 8 місяців тому

    i dont know man my qb-inventory main looks very diferent
    RegisterNetEvent('qb-inventory:server:SetInventoryData', function(fromInventory, toInventory, fromSlot, toSlot, fromAmount, toAmount)
    if not fromInventory or not toInventory or not fromSlot or not toSlot or not fromAmount or not toAmount then return end
    local src = source
    local Player = QBCore.Functions.GetPlayer(src)
    if not Player then return end
    fromSlot, toSlot, fromAmount, toAmount = tonumber(fromSlot), tonumber(toSlot), tonumber(fromAmount), tonumber(toAmount)
    local fromItem = getItem(fromInventory, src, fromSlot)
    local toItem = getItem(toInventory, src, toSlot)
    if fromItem then
    if not toItem and toAmount > fromItem.amount then return end
    if fromInventory == 'player' and toInventory ~= 'player' then checkWeapon(src, fromItem) end
    local fromId = getIdentifier(fromInventory, src)
    local toId = getIdentifier(toInventory, src)
    if toItem and fromItem.name == toItem.name then
    if RemoveItem(fromId, fromItem.name, toAmount, fromSlot, 'stacked item') then
    AddItem(toId, toItem.name, toAmount, toSlot, toItem.info, 'stacked item')
    end
    elseif not toItem and toAmount < fromAmount then
    if RemoveItem(fromId, fromItem.name, toAmount, fromSlot, 'split item') then
    AddItem(toId, fromItem.name, toAmount, toSlot, fromItem.info, 'split item')
    end
    else
    if toItem then
    if RemoveItem(fromId, fromItem.name, fromAmount, fromSlot, 'swapped item') and RemoveItem(toId, toItem.name, toAmount, toSlot, 'swapped item') then
    AddItem(toId, fromItem.name, fromAmount, toSlot, fromItem.info, 'swapped item')
    AddItem(fromId, toItem.name, toAmount, fromSlot, toItem.info, 'swapped item')
    end
    else
    if RemoveItem(fromId, fromItem.name, toAmount, fromSlot, 'moved item') then
    AddItem(toId, fromItem.name, toAmount, toSlot, fromItem.info, 'moved item')
    end
    end
    end
    end
    end)

    • @kamarynkamaryn
      @kamarynkamaryn  8 місяців тому

      Video came out a while ago. Qb has made updates since then especially if you are using the newest version

  • @SORA-sy8dy
    @SORA-sy8dy Рік тому

    config.MugshotWebhook
    config.clockinwebhook no code

  • @dirkpienaar8521
    @dirkpienaar8521 8 місяців тому

    same for community service
    Find - Line 88 -- Metadata -- Under the function - paste below.
    PlayerData.metadata = PlayerData.metadata or {} PlayerData.metadata["communityservice"] = PlayerData.metadata["communityservice"] or 0 end
    this is line 80 to 92
    local function applyDefaults(playerData, defaults)
    for key, value in pairs(defaults) do
    if type(value) == 'function' then
    playerData[key] = playerData[key] or value()
    elseif type(value) == 'table' then
    playerData[key] = playerData[key] or {}
    applyDefaults(playerData[key], value)
    else
    playerData[key] = playerData[key] or value
    end
    end
    end

  • @halfway525
    @halfway525 2 місяці тому

    the mdt dosent load up yet it is in my keybinds for fivem