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

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • 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
    }, {

ความคิดเห็น • 102

  • @bobbydigital18
    @bobbydigital18 ปีที่แล้ว +3

    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 8 หลายเดือนก่อน

      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 ...

  • @WayneRigney
    @WayneRigney 5 หลายเดือนก่อน +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 4 หลายเดือนก่อน

      how you figure it out using qb inventory?

    • @jugghmc
      @jugghmc 4 หลายเดือนก่อน

      @WayneRigney what's the steps for ox_inventory

    • @jugghmc
      @jugghmc 4 หลายเดือนก่อน

      Yo

  • @missychantel21
    @missychantel21 ปีที่แล้ว +1

    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

  • @jzosmooth2540
    @jzosmooth2540 ปีที่แล้ว +1

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

  • @freddcop
    @freddcop 9 หลายเดือนก่อน +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  7 หลายเดือนก่อน

      Make sure you have the plate reader on and the radar

  • @KrakenExEsp
    @KrakenExEsp ปีที่แล้ว

    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

  • @satangaming1
    @satangaming1 ปีที่แล้ว +3

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

  • @shoo_nl
    @shoo_nl 27 วันที่ผ่านมา

    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

  • @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 5 หลายเดือนก่อน

      something to do with your qb-target

  • @shamelessgames6690
    @shamelessgames6690 5 หลายเดือนก่อน +1

    cannot find the markedbills sections thats in the video it is completely different what do i do?

  • @solo_la_fam
    @solo_la_fam 10 วันที่ผ่านมา

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

    • @kamarynkamaryn
      @kamarynkamaryn  9 วันที่ผ่านมา

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

  • @musician96gaming34
    @musician96gaming34 9 หลายเดือนก่อน

    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

  • @cptmorgs
    @cptmorgs 7 หลายเดือนก่อน

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

  • @iorangechicken4283
    @iorangechicken4283 8 หลายเดือนก่อน +1

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

    • @hauq-kr9ez
      @hauq-kr9ez 5 หลายเดือนก่อน

      you ever got this working?

  • @koawhkaine
    @koawhkaine 9 หลายเดือนก่อน

    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 4 หลายเดือนก่อน

      trying to find this out myself

    • @CalebGaming2595
      @CalebGaming2595 4 หลายเดือนก่อน

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

    • @andrewdunning6488
      @andrewdunning6488 4 หลายเดือนก่อน

      @@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

  • @travdaddy777
    @travdaddy777 5 หลายเดือนก่อน

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

  • @ItsAdrazA
    @ItsAdrazA 4 หลายเดือนก่อน

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

    • @mindresiliant
      @mindresiliant 4 หลายเดือนก่อน

      thats what i had and i had to reset server

  • @therealmissouri
    @therealmissouri 5 หลายเดือนก่อน

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

  • @user-kq1rb7pu2w
    @user-kq1rb7pu2w 6 หลายเดือนก่อน

    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?

  • @latinboygaming3144
    @latinboygaming3144 7 หลายเดือนก่อน

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

  • @GuyFromLebanon
    @GuyFromLebanon ปีที่แล้ว

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

  • @Solanoid
    @Solanoid ปีที่แล้ว +1

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

  • @YANECHANNEL
    @YANECHANNEL 10 หลายเดือนก่อน

    How to active department unit like BCSO and anything?

  • @cornishgamer9809
    @cornishgamer9809 5 หลายเดือนก่อน

    I am getting an error when trying to search someone in the MDT, Can you 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

  • @JmoneyBMK
    @JmoneyBMK 9 หลายเดือนก่อน

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

  • @georgiihatem7642
    @georgiihatem7642 ปีที่แล้ว

    thank you
    😍🥰🥰🥰🥰

  • @frankie-_-amazon
    @frankie-_-amazon 3 หลายเดือนก่อน

    @kamaryn after I went through the whole process no I just get a long black screen and loading icon and it doesn't actually load into the game and I get an error message on the live code that says it has something to do with MDT

    • @frankie-_-amazon
      @frankie-_-amazon 3 หลายเดือนก่อน

      I did notice that when I was cutting and pasting a large chunk of code from the GitHub that you pointed out and noticed that I guess it's maybe cuz I have a newer version and you're working on the older version but there's a large section of code that looks like it had been updated and it was slightly different than what I saw on the video when you were showing us I think my problem might be in there but I have to re-watch the video and recheck the code

    • @kamarynkamaryn
      @kamarynkamaryn  3 หลายเดือนก่อน +1

      @@frankie-_-amazon The inventory edit part will be different bc of qbcore updates

    • @frankie-_-amazon
      @frankie-_-amazon 3 หลายเดือนก่อน

      @@kamarynkamaryn thanks I'm going to try to see if I can take care of it tonight I love your videos by the way keep up the good work

    • @kamarynkamaryn
      @kamarynkamaryn  3 หลายเดือนก่อน

      @@frankie-_-amazon Thank you :)

  • @iikraze9864
    @iikraze9864 10 หลายเดือนก่อน

    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

  • @mouad4388
    @mouad4388 6 หลายเดือนก่อน

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

  • @michaelmurray9928
    @michaelmurray9928 5 หลายเดือนก่อน

    Any way to change the size of the MDT screen?

  • @imsymes1992
    @imsymes1992 7 หลายเดือนก่อน +2

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

    • @kamarynkamaryn
      @kamarynkamaryn  7 หลายเดือนก่อน

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

    • @IamDanielPeter
      @IamDanielPeter 5 หลายเดือนก่อน +2

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

  • @vexxydevs
    @vexxydevs ปีที่แล้ว

    Hello my favourite youtuber ;)

  • @GoldenTeam2.0
    @GoldenTeam2.0 11 หลายเดือนก่อน

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

  • @ChadWorthington-po3dc
    @ChadWorthington-po3dc 9 หลายเดือนก่อน

    I dont have a marked money in mine. HELPPPP

  • @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

  • @alper12784
    @alper12784 10 หลายเดือนก่อน

    when i do jail is doesnt send them to jail

  • @wafal_15
    @wafal_15 6 หลายเดือนก่อน

    Hello , can I delete the incidents after ?

  • @Designs033
    @Designs033 2 หลายเดือนก่อน

    sql import error

  • @techwitholiver
    @techwitholiver 8 หลายเดือนก่อน

    Will this work for ox_inventory ?

  • @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.

  • @LeonCha23
    @LeonCha23 ปีที่แล้ว

    Does community service work??

  • @hunterpietrowski2686
    @hunterpietrowski2686 9 หลายเดือนก่อน

    what software do i use to run sql

    • @rubenfen5731
      @rubenfen5731 9 หลายเดือนก่อน

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

  • @dionbowen99
    @dionbowen99 ปีที่แล้ว +1

    jailing is scuffed

    • @kamarynkamaryn
      @kamarynkamaryn  ปีที่แล้ว

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

  • @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

  • @dirkpienaar8521
    @dirkpienaar8521 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

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

  • @eagle1superman
    @eagle1superman 8 หลายเดือนก่อน

    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 7 หลายเดือนก่อน

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

  • @Matthew.1994
    @Matthew.1994 11 หลายเดือนก่อน

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

    • @NanaZ_World
      @NanaZ_World 10 หลายเดือนก่อน

      getting same error

  • @dirkpienaar8521
    @dirkpienaar8521 3 หลายเดือนก่อน

    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

  • @SORA-sy8dy
    @SORA-sy8dy ปีที่แล้ว

    config.MugshotWebhook
    config.clockinwebhook no code