Documentation
  • â„šī¸Information
    • Welcome
    • Before you buy
    • Before you install
  • đŸ“ĻDependencies
    • Apex Library
      • Installation
      • Configuration
  • đŸ“ĻResources
    • đŸ›ī¸Government Jobs
      • Apex Law Enforcement
        • Installation
        • Configuration
        • Features
        • Showcase
    • đŸžī¸Activities
      • Apex Legion Park
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Mirror Park
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Vespucci Beach
        • Installation
        • Configuration
        • Features
        • Showcase
    • 💀Criminal Activies
      • Apex Cocaine Run
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Heroin Run
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Meth Run
        • Installation
        • Configuration
        • Features
        • Showcase
      • Apex Weed Run
        • Installation
        • Configuration
        • Features
        • Showcase
    • đŸĸBusinesses
      • đŸĨ˜Restaurants
        • Apex Burgershot
          • Installation
          • Features
          • Showcase
        • Apex Bite
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex CafÊ Coretto
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Cat Cafe
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Cluckin' Bell
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Emerald
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Horny's Burger
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Koi Restaurant
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Noodle Exchange
          • Installation
        • Apex Pearls Seafood
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Pizza This
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Rex Diner
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Rusty Brown
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Snr Buns
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Up 'N' Atom
          • Installation
          • Configuration
          • Features
          • Showcase
      • đŸ•ēNightclubs
        • Apex Bahama Mamas
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Beach Club
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Blackwood Saloon
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Club77
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Malibu Club
          • Installation
        • Apex Matrix
          • Installation
        • Apex Galaxy
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Haute
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Peckerwood
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Tequi-la-la
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Vanilla Unicorn
          • Installation
          • Configuration
          • Features
          • Showcase
        • Apex Yellow Jack
          • Installation
          • Configuration
          • Features
          • Showcase
      • 🎭Other
        • Apex Weapon Manufacturer
          • Installation
          • Configuration
          • Features
          • Showcase
Powered by GitBook
On this page
  • DEPENDENCIES
  • RESOURCE INSTALLATION GUIDE
  1. Resources
  2. Businesses
  3. Nightclubs
  4. Apex Matrix

Installation

PreviousApex MatrixNextApex Galaxy

Last updated 9 months ago

DEPENDENCIES

REQUIRED DEPENDENCIES

Resource
Download

Apex Library

Framework

Target

Menu

Inventory

Media player

OPTIONAL DEPENDENCIES

Resource
Download

Mapping

RESOURCE INSTALLATION GUIDE

1) RESOURCE DOWNLOAD

Download your resource from .

2) RESOURCE POSITIONING

ensure qb-core
ensure ox_lib
ensure apex_lib
ensure [apex] -- or ensure apex_matrix
ensure es_extended
ensure ox_lib
ensure apex_lib
ensure [apex] -- or ensure apex_matrix

3) ASSET ADDING

  1. Open apex_matrix > assets > inventory_images

  2. Copy files from the folder and add them into your inventory image folder

4) ITEM ADDING (QBCORE & ESX)

--[DRINK INGREDIENTS]--
["ice"] 		= {["name"] = "ice", 		["label"] = "Ice", 		["weight"] = 10, ["type"] = "item", ["image"] = "ice.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients"},
["pineapplejuice"] 	= {["name"] = "pineapplejuice", ["label"] = "Pineapple Juice", 	["weight"] = 10, ["type"] = "item", ["image"] = "pineapplejuice.png", 	["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients"},
["lemon"] 		= {["name"] = "lemon", 		["label"] = "Lemon", 		["weight"] = 10, ["type"] = "item", ["image"] = "lemon.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients"},
["lime"] 		= {["name"] = "lime", 		["label"] = "Lime", 		["weight"] = 10, ["type"] = "item", ["image"] = "lime.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients"},
["sugar"] 		= {["name"] = "sugar", 		["label"] = "Sugar", 		["weight"] = 10, ["type"] = "item", ["image"] = "sugar.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients"},
["mint"] 		= {["name"] = "mint", 		["label"] = "Mint", 		["weight"] = 10, ["type"] = "item", ["image"] = "mint.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients"},
["cocomilk"] 		= {["name"] = "cocomilk", 	["label"] = "Coco Milk", 	["weight"] = 10, ["type"] = "item", ["image"] = "cocomilk.png", 	["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients"},
--[DRINKS]--
["bluelagoon"] 		= {["name"] = "bluelagoon", 	["label"] = "Blue Lagoon", 	["weight"] = 30, ["type"] = "item", ["image"] = "bluelagoon.png", 	["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
["caipirinha"] 		= {["name"] = "caipirinha", 	["label"] = "Caipirinha", 	["weight"] = 30, ["type"] = "item", ["image"] = "caipirinha.png", 	["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
["pinacolada"] 		= {["name"] = "pinacolada", 	["label"] = "PinÃŖ Colada", 	["weight"] = 30, ["type"] = "item", ["image"] = "pinacolada.png", 	["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
["maitai"] 		= {["name"] = "maitai", 	["label"] = "Mai Tai", 		["weight"] = 30, ["type"] = "item", ["image"] = "maitai.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
["mojito"] 		= {["name"] = "mojito", 	["label"] = "Mojito", 		["weight"] = 30, ["type"] = "item", ["image"] = "mojito.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
["sanfrancisco"] 	= {["name"] = "sanfrancisco", 	["label"] = "San Francisco", 	["weight"] = 30, ["type"] = "item", ["image"] = "sanfrancisco.png", 	["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
["gin"] 		= {["name"] = "gin", 		["label"] = "Gin", 		["weight"] = 30, ["type"] = "item", ["image"] = "gin.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
["rum"] 		= {["name"] = "rum", 		["label"] = "Rum", 		["weight"] = 30, ["type"] = "item", ["image"] = "rum.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
["whiskey"] 		= {["name"] = "whiskey", 	["label"] = "Whiskey", 		["weight"] = 30, ["type"] = "item", ["image"] = "whiskey.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
["vodka"] 		= {["name"] = "vodka", 		["label"] = "Vodka", 		["weight"] = 30, ["type"] = "item", ["image"] = "vodka.png", 		["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Alcoholic Drink"},
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('ice', 'Ice', 10, 0, 1),
('pineapplejuice', 'Pineapple Juice', 10, 0, 1),
('lemon', 'Lemon', 10, 0, 1),
('lime', 'Lime', 10, 0, 1),
('sugar', 'Sugar', 10, 0, 1),
('mint', 'Mint', 10, 0, 1),
('cocomilk', 'Coco Milk', 10, 0, 1),
('bluelagoon', 'Blue Lagoon', 10, 0, 1),
('caipirinha', 'Caipirinha', 10, 0, 1),
('pinacolada', 'PinÃŖ Colada', 10, 0, 1),
('maitai', 'Mai Tai', 10, 0, 1),
('mojito', 'Mojito', 10, 0, 1),
('sanfrancisco', 'San Francisco', 10, 0, 1),
('gin', 'Gin', 10, 0, 1),
('rum', 'Rum', 10, 0, 1),
('whiskey', 'Whiskey', 10, 0, 1),
('vodka', 'Vodka', 10, 0, 1);

5) JOB ADDING

matrix = {
    label = 'Matrix Nightclub',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = { name = 'Helper', payment = 50 },
        ['1'] = { name = 'Bartender', payment = 75 },
        ['2'] = { name = 'Manager', isboss = true, payment = 150 },
    },
},
INSERT INTO `jobs` (name, label) VALUES
('matrix', 'Matrix Nightclub');

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('matrix', 0, 'helper', 'Helper', 30, '{}', '{}'),
('matrix', 1, 'bartender', 'Bartender', 40, '{}', '{}'),
('matrix', 2, 'boss', 'Manager', 60, '{}', '{}');

6) CONSUMABLES

qb-smallresources/config.lua
Config.ConsumablesAlcohol = {
    ["bluelagoon"] = math.random(40, 80),
    ["pinacolada"] = math.random(40, 80),
    ["sanfrancisco"] = math.random(40, 80),
    ["caipirinha"] = math.random(40, 80),
    ["mojito"] = math.random(40, 80),
    ["maitai"] = math.random(40, 80),
}

With jim-consumables, it is a little different, you'll have to find this: Consumables = {} in the config file add the following into it.

If you are not able to get it working, ask jimathy for help

jim-consumables/config.lua
["bluelagoon"] = {
	emote = "beer", time = math.random(5000, 6000), stress = math.random(1, 2), heal = 0, armor = 5, type = "alcohol",
	stats = {
		screen = "", effect = "heal", time = 10000, amount = 2,
		hunger = math.random(0,0), thirst = math.random(40, 80),
	},
},
["pinacolada"] = {
	emote = "beer", time = math.random(5000, 6000), stress = math.random(1, 2), heal = 0, armor = 5, type = "alcohol",
	stats = {
		screen = "", effect = "heal", time = 10000, amount = 2,
		hunger = math.random(0,0), thirst = math.random(40, 80),
	},
},
["sanfrancisco"] = {
	emote = "beer", time = math.random(5000, 6000), stress = math.random(1, 2), heal = 0, armor = 5, type = "alcohol",
	stats = {
		screen = "", effect = "heal", time = 10000, amount = 2,
		hunger = math.random(0,0), thirst = math.random(40, 80),
	},
},
["caipirinha"] = {
	emote = "beer", time = math.random(5000, 6000), stress = math.random(1, 2), heal = 0, armor = 5, type = "alcohol",
	stats = {
		screen = "", effect = "heal", time = 10000, amount = 2,
		hunger = math.random(0,0), thirst = math.random(40, 80),
	},
},
["mojito"] = {
	emote = "beer", time = math.random(5000, 6000), stress = math.random(1, 2), heal = 0, armor = 5, type = "alcohol",
	stats = {
		screen = "", effect = "heal", time = 10000, amount = 2,
		hunger = math.random(0,0), thirst = math.random(40, 80),
	},
},
["maitai"] = {
	emote = "beer", time = math.random(5000, 6000), stress = math.random(1, 2), heal = 0, armor = 5, type = "alcohol",
	stats = {
		screen = "", effect = "heal", time = 10000, amount = 2,
		hunger = math.random(0,0), thirst = math.random(40, 80),
	},
},

or

/

& /

Recommend / Whatever you want

The first 2 blocks i'll show how to add the items into both and for qbcore

đŸ“Ļ
đŸĸ
đŸ•ē
FiveM's Keymaster
qb-smallresources
jim-consumables
Apex Studios Tebex Store
QBCore
ESX
qb-target
ox_target
qb-menu
qb-input
ox_lib
qb-inventory
lj-inventory
ps-inventory
ox_inventory
Quasar Inventory
xsound
Yuri Customs Matrix Nightclub