πŸ“„Installation

QBCore qb-core Item Installation

  ["rentalpapers"]				 = {["name"] = "rentalpapers", 					["label"] = "Rental Papers", 			["weight"] = 0, 		["type"] = "item", 		["image"] = "rentalpapers.png", 		["unique"] = true, 		["useable"] = false, 	["shouldClose"] = false, 	["combinable"] = nil, 	["description"] = "Yea, this is my car i can prove it!"},

QB-Core Player Metadata

Go to qb-core/server/player.lua (line 94) Replace the licenses metadata with the snippet below

PlayerData.metadata['licences'] = PlayerData.metadata['licences'] or {
        ['driver'] = true,
        ['business'] = false,
        ['weapon'] = false,
        ['pilot'] = false
}

QB-PoliceJob Optional Installation

This allows you to add the ability for police to grant and revoke pilot licenses.

  • Go to qb-policejob/server/main.lua (line 124) Replace the old line with this:

if args[2] == "driver" or args[2] == "weapon" or args[2] == "pilot" then
  • Go to qb-policejob/server/main.lua (line 148)

if args[2] == "driver" or args[2] == "weapon" or args[2] == "pilot" then

Last updated