🌅
Morningstar Productions
  • Home
  • Free Resources
    • 🗞️News Job
      • 📄Installation
    • 🚗Rentals
      • 📄Installation
    • 💣Car Bomb
      • 📄Installation
    • 🤸Gym
      • 📄Installation
    • 🌃Night Vision Goggles
      • 📄Installation
    • ♠️Casino
      • 📄Installation
  • Paid Resources
    • 👨‍🔧Vin Chopping
      • 📄Installation
    • 😈Fence Selling
      • 📄Installation
    • 🃏Tarot Cards
      • 📄Installation
    • 🏢Motel
      • 📄Installation
  • Archived Resources
    • 🔊Vehicle Audio
      • 📄Installation
    • 🛻Import Vehicles
      • 📄Installation
    • 💾Crypto
      • 📄Installation
Powered by GitBook
On this page
  • QBCore qb-core Item Installation
  • QB-Core Player Metadata
  • QB-PoliceJob Optional Installation
  1. Free Resources
  2. Rentals

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
PreviousRentalsNextCar Bomb

Last updated 5 months ago

🚗
📄