Installation

DEPENDENCIES

REQUIRED DEPENDENCIES

OPTIONAL DEPENDENCIES

ResourceDownload

Mapping

RTX Club77 Recommend / Whatever you want

RESOURCE INSTALLATION GUIDE

1) RESOURCE DOWNLOAD

Download your resource from FiveM's Keymaster.

2) RESOURCE POSITIONING

You need to make sure that apex_lib is always started before any of our scripts!

ensure apex_lib
ensure [apex] -- or ensure apex_club77

3) ASSET ADDING

  1. Open apex_club77 > 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"},

5) JOB ADDING

club77 = {
    label = 'Club77 Nightclub',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = { name = 'Helper', payment = 50 },
        ['1'] = { name = 'Bartender', payment = 75 },
        ['2'] = { name = 'Dancer', payment = 100 },
        ['3'] = { name = 'Manager', isboss = true, payment = 150 },
    },
},

6) CONSUMABLES

The first 2 blocks i'll show how to add the items into both qb-smallresources and jim-consumables for qbcore

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),
}

Last updated