Forosty's Development
  • 🌱Weed Run
    • 📄Installation
      • 🔴QBCore
      • 🟡ESX
    • 📚Configuration
  • 🪣Sanitation
    • 📄Installation
      • 🔴QBCore
      • 🟡ESX
    • 📚Configuration
Powered by GitBook
On this page
  1. Weed Run
  2. Installation

ESX

Installation guide for the ESX version of Weed Run

Step 1: Adding Items

  • If you are using ox_inventory, head over to ox_inventory/data/items.lua and paste the following items in:

    ['weed_suspiciouspackage'] = {
    	label = 'Suspicious Package',
    	weight = 5,
    	description = 'This package contains something not so legal',
    },
    
    ['weedbud'] = {
    	label = 'Weed Bud',
    	weight = 2,
    	description = 'Ready to be smoked... or maybe for something else',
    },
    
    ['marked_bills'] = {
    	label = 'Marked Bills',
    	weight = 5,
    	description = 'These bills have some marks on them',
    },
    
    ['bands'] = {
    	label = 'Band Of Notes',
    	weight = 3,
    	description = 'A set of one thousand dollar bills',
    },
    
    ['rolls'] = {
    	label = 'Roll Of Small Notes',
    	weight = 2,
    	description = 'Roll of money',
    },
  • If you are not using ox_inventory and you are using a inventory that requires you to add the items yourself, import the following items into your database:

    INSERT INTO `items` (`name`, `label`, `weight`) VALUES
    	('weed_suspiciouspackage', 'Suspicious Package', 500),
    	('weedbud', 'Weed Bud', 250),
    	('marked_bills', 'Marked Bills', 500),
    	('bands', 'Band Of Notes', 300),
    	('rolls', 'Roll Of Small Notes', 300),
    ;

Step 2: Item Images

  • If you are not using ox_inventory or any inventory that doesn't use item images you don't have to worry about this

  • If you are using ox_inventory or any other inventory that uses item images then head over to the inventory images folder (for example: if you are using ox_inventory go to ox_inventory/web/images) and paste the images from qb-weedrun/images to the folder

Step 3: Ensuring Dependencies

  • Make sure qb-weedrun is ensured

  • Make sure qb-weedrun/config.lua/Config.ESX is set as true

  • Make sure ox_lib is ensured

  • Make sure ox_target is ensured

PreviousQBCoreNextConfiguration

Last updated 1 year ago

🌱
📄
🟡