Apex Studios
StoreDiscordGithubYoutube
  • Introduction
  • Premium Resources
    • 🍔Apex Burgershot
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🍏Apex Bite
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • ☕Apex Café Coretto
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🐱Apex Cat Cafe
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🔔Apex Cluckin' Bell
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 💎Apex Emerald
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 😈Apex Horny's Burger
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🐟Apex Koi Restaurant
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🍜Apex Noodle Exchange
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🐚Apex Pearls Seafood
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🍕Apex Pizza This
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
  • 🦕Apex Rex Diner
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🍩Apex Rusty Brown
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🍔Apex Snr Buns
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • ⚛️Apex Up 'N' Atom
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 👠Apex Bahama Mamas
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🏖️Apex Beach Club
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🪵Apex Blackwood Saloon
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • ♣️Apex Club77
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🥥Apex Malibu Club
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🔲Apex Matrix
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🌠Apex Galaxy
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
    • 🌠Apex Haute
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
  • 🐦Apex Peckerwood
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🍺Apex Tequi-la-la
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🦄Apex Vanilla Unicorn
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🟡Apex Yellow Jack
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • Additional Guides
    • Page 1
  • Frequently Asked Question
    • FAQ
Powered by GitBook
On this page
  1. Premium Resources
  2. Apex Koi Restaurant

Install Instructions

PreviousApex Koi RestaurantNextExports

Last updated 29 days ago


Follow the steps below to install this resource to your server.

1

Install dependencies

Verify all dependencies below are started before this script in your server.cfg.

Install (or update) all dependencies below:

  1. apex_lib (Included with the purchases - Please check your keymaster)

2

Add items

Open the [install] folder and add the items & their images to your inventory

Are you on esx - Remember to add the .sql to your database.

-- [FOOD INGREDIENTS] --
["tofu"]              = { ["name"] = "tofu",              ["label"] = "Tofu",               ["weight"] = 10, ["type"] = "item", ["image"] = "tofu.png",              ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["rice"]              = { ["name"] = "rice",              ["label"] = "Rice",               ["weight"] = 10, ["type"] = "item", ["image"] = "rice.png",              ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["seaweed"]           = { ["name"] = "seaweed",           ["label"] = "Sea Weed",           ["weight"] = 10, ["type"] = "item", ["image"] = "seaweed.png",           ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["skewer"]            = { ["name"] = "skewer",            ["label"] = "Skewer",             ["weight"] = 10, ["type"] = "item", ["image"] = "skewer.png",            ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["fish"]              = { ["name"] = "fish",              ["label"] = "Fish",               ["weight"] = 10, ["type"] = "item", ["image"] = "fish.png",              ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["teriyaki"]          = { ["name"] = "teriyaki",          ["label"] = "Teriyaki",           ["weight"] = 10, ["type"] = "item", ["image"] = "teriyaki.png",          ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["noodles"]           = { ["name"] = "noodles",           ["label"] = "Noodles",            ["weight"] = 10, ["type"] = "item", ["image"] = "noodles.png",           ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["chickenraw"]        = { ["name"] = "chickenraw",        ["label"] = "Raw Chicken Fillet", ["weight"] = 10, ["type"] = "item", ["image"] = "chickenraw.png",        ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },

-- [FOOD] --
["ramenhot"]          = { ["name"] = "ramenhot",          ["label"] = "Ramen Hot",          ["weight"] = 10, ["type"] = "item", ["image"] = "ramenhot.png",          ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["ramenchicken"]      = { ["name"] = "ramenchicken",      ["label"] = "Ramen Chicken",      ["weight"] = 10, ["type"] = "item", ["image"] = "ramenchicken.png",      ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["ramenpork"]         = { ["name"] = "ramenpork",         ["label"] = "Ramen Pork",         ["weight"] = 10, ["type"] = "item", ["image"] = "ramenpork.png",         ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["yakitori"]          = { ["name"] = "yakitori",          ["label"] = "Yakitori",           ["weight"] = 10, ["type"] = "item", ["image"] = "yakitori.png",          ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["teriyakichicken"]   = { ["name"] = "teriyakichicken",   ["label"] = "Teriyaki Chicken",   ["weight"] = 10, ["type"] = "item", ["image"] = "teriyakichicken.png",   ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["sushi"]             = { ["name"] = "sushi",             ["label"] = "Sushi",              ["weight"] = 10, ["type"] = "item", ["image"] = "sushi.png",             ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["misosoup"]          = { ["name"] = "misosoup",          ["label"] = "Miso Soup",          ["weight"] = 30, ["type"] = "item", ["image"] = "misosoup.png",          ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["onigiri"]           = { ["name"] = "onigiri",           ["label"] = "Onigiri",            ["weight"] = 10, ["type"] = "item", ["image"] = "onigiri.png",           ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },

-- [DRINKS] --
["milkshake"]         = { ["name"] = "milkshake",         ["label"] = "Milkshake",          ["weight"] = 10, ["type"] = "item", ["image"] = "milkshake.png",         ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Drink" },
["soda"]              = { ["name"] = "soda",              ["label"] = "Soda",               ["weight"] = 10, ["type"] = "item", ["image"] = "soda.png",              ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Drink" },
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('tofu', 'Tofu', 10, 0, 1),
('rice', 'Rice', 10, 0, 1),
('seaweed', 'Sea Weed', 10, 0, 1),
('skewer', 'Skewer', 10, 0, 1),
('fish', 'Fish', 10, 0, 1),
('teriyaki', 'Teriyaki', 10, 0, 1),
('noodles', 'Noodles', 10, 0, 1),
('chickenraw', 'Raw Chicken Fillet', 10, 0, 1),
('ramenhot', 'Ramen Hot', 10, 0, 1),
('ramenchicken', 'Ramen Chicken', 10, 0, 1),
('ramenpork', 'Ramen Pork', 10, 0, 1),
('yakitori', 'Yakitori', 10, 0, 1),
('teriyakichicken', 'Teriyaki Chicken', 10, 0, 1),
('sushi', 'Sushi', 10, 0, 1),
('misosoup', 'Miso Soup', 10, 0, 1),
('onigiri', 'Onigiri', 10, 0, 1),
('milkshake', 'Milkshake', 10, 0, 1),
('soda', 'Soda', 10, 0, 1);
3

Add jobs

Open the [install] folder and add the jobs to your core resource

Are you on esx - Remember to add the .sql to your database.

-- [Install into: qb-core/shared/jobs.lua] --
koi = {
	label = 'Koi Restaurant',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
		['0'] = { name = 'Helper', payment = 30 },
		['1'] = { name = 'Cook', payment = 40 },
		['2'] = { name = 'Bartender', payment = 50 },
		['3'] = { name = 'Manager', payment = 60 },
		['4'] = { name = 'Boss', isboss = true, payment = 70 },
	},
},
-- [Install into: qbx_core/shared/jobs.lua] --   
['koi'] = {
        label = 'Koi Restaurant',
        defaultDuty = true,
        offDutyPay = false,
        grades = {
            [0] = {
                name = 'Helper',
                payment = 30
            },
            [1] = {
                name = 'Cook',
                payment = 40
            },
            [2] = {
                name = 'Bartender',
                payment = 50
            },
            [3] = {
                name = 'Manager',
                payment = 60
            },
             [4] = {
                name = 'Boss',
                isboss = true,
                bankAuth = true,
                payment = 70
            },
        },
    },
INSERT INTO `jobs` (name, label) VALUES
('koi', 'Koi Restaurant');

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('koi', 0, 'helper', 'Helper', 30, '{}', '{}'),
('koi', 1, 'bartender', 'bartender', 40, '{}', '{}'),
('koi', 2, 'cook', 'Cook', 50, '{}', '{}'),
('koi', 3, 'manager', 'Manager', 60, '{}', '{}'),
('koi', 4, 'boss', 'Boss', 70, '{}', '{}');
4

Restart server

  • Add this script into your main resources directory (usually ../resources)

  • Open server.cfg and add start or ensure apex_bite

  • Restart your server.

Upon completion, do not delete the [install] folder or any .sql files or you will experience errors.

🐟
oxmysql
ox_lib