Skip to content

iplocator/qb-mdt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preview

image image image

This MDT is work in progress and features may not work properly.

Dependencies

Dispatch System

Credit

Original Repo: https://github.com/FlawwsX/erp_mdt

QBCore Changes for License

  • qb-core/server/player.lua
  • replace the old logic of licenses to this new logic
  • search for PlayerData.metadata["licences"] and replace the whole block of licences with the block below
if PlayerData.metadata["licences"]["drive_truck"] ~= nil then
    PlayerData.metadata['licences'] = PlayerData.metadata['licences']
else
    PlayerData.metadata['licences'] = {
        ['driver'] = true,
        ['business'] = false,
        ['weapon'] = false,
        ["drive_bike"] = false,
        ["drive_truck"] = false,
        ["pilot"] = false,
    }
end

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 40.5%
  • CSS 26.1%
  • Lua 21.9%
  • HTML 11.5%