📃How to Install

This page will give you a brief overlook on how to install this resource

Important things to install! Follow the steps carefully and you shouldn't have a problem.

Make sure to follow all steps, step by step, if you encounter errors please recheck that you've completed step 1-7 correctly.

Step 1

  • Insert VT-Foodchain into your server

  • Remember to Ensure VT-Foodchain in your server.cfg

Step 2

  • Run the resource before all resources in server.cfg

# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents

# QBCore & Extra stuff
ensure qb-core
# VT Scripts
ensure vt-foodchain
#Of course if you use the mlo that comes with the resource!
ensure vt-burgershot 

Step 3

  • Add the following to your qb-core/shared/items.lua

  • Now go to your inventory and paste all the images from the images folder located in the vt-foodchain resource and move them to your qb-inventory/html/images folde

Step 4

  • Add items to qb-core/shared/jobs.lua

["burgerjob"] = {
        label = "Burgershot",
        defaultDuty = true,
        grades = {
            ['0'] = {
            name = "Trainee",
            payment = 50
        },
            ['1'] = {
            name = "Employee",
            payment = 75
        },
            ['2'] = {
            name = "Flipper",
            payment = 100
        },
            ['3'] = {
            name = "Manager",
            payment = 125
            },
            ['4'] = {
            name = "CEO",
            isboss = true,
            payment = 150
                },
            },
        },

Step 5

Consumables

  • Follow all steps very carefully on Step 5


ConsumablesEat

  • Find the file qb-smallresources/config.lua

  • Find the following!

Config.ConsumablesEat
  • Paste the following code into it.

  • The order in which you put it doesn't really matter. It can be after yours which you have already made or after all which are default

    --VT Burger Job "Foodchain"
    ["burger-bleeder"] = math.random(40, 45),
    ["burger-moneyshot"] = math.random(25, 34),
    ["burger-torpedo"] = math.random(40, 45),
    ["burger-heartstopper"] = math.random(60, 85),
    ["burger-meatfree"] = math.random(40, 45),
    ["burger-fries"] = math.random(24, 35),
    ["burger-rimjob"] = math.random(23, 35),
    ["burger-shotrings"] = math.random(23, 35),

Step 6

Boss Menu

  • Follow all the steps of Step 6 very carefully and copy what you think you need for the respective mlo

  • Find the file qb-management/client/cl_config.lua

  • Add to cl_config.lua

Config.BossMenus = {
    --NoPixel MLo
    ['burgerjob'] = {
        vector3(-1178.24, -896.34, 13.98)
    },

    --Gabz MLo
    --[[
    ['burgerjob'] = {
        vector3(-1198.15, -897.64, 13.8)
    },
    ]]

Config.BossMenuZones = {
    --Nopixel MLo
    ['burgerjob'] = {
        { coords = vector3(-1178.24, -896.34, 13.98), length = 1.15, width = 2.6, heading = 35, minZ = 10.78, maxZ = 14.78 },
    },
    --Gabz Mlo
    --[[
    ['burgerjob'] = {
        { coords = vector3(-1198.15, -897.64, 13.8), length = 1.15, width = 2.6, heading = 35, minZ = 10.78, maxZ = 14.78 },
    },
    ]]

Step 7

  • Find the folder qb-doorlock/configs

  • Create a new lua file named BurgerShot.lua

  • Оpen the uWu.lua file you just created

  • Enter the code below

Step 8 (Info / This is an optional step)

Config

  • CoreScriptName

    • 'vt-core' or 'qb-core' This is a change to your resource name, namely core, the original one which is QBCore

  • CoreName

    • 'VTCore' or 'QBCore' This is a change to your resource name, namely core, the original one which is QBCore

  • Fuel

    • Shooting the fuel script!

  • Phone

    • Shooting the phone script!

  • OXSupport

    • Supports 'Context Menu, Input Dialog, Progress - 'Circle', Skill Check

  • Lockpick

    • Supports ps and ox mini games

  • MLOSupport

    • Choice between nopixel mlo and gabz mlo

  • Progressbar

    • Standard progress bar or ox progress bar

  • System

    • JUST CHANGE THE NAMES OF THE SCRIPTS, IF YOU USE OTHER SCRIPTS THAN THE ORIGINAL SCRIPTS THEY WILL NOT WORK, BUT IF YOU JUST CHANGE THE NAMES OF THE RESOURCE ITSELF IT WILL WORK WITHOUT ANY PROBLEMS.)

  • Bulling System

    • All settings for the invoice systemMinigameMinigame

  • Minigame

    • Settings to ps-ui minigame

  • Items Delivery

    • It is clear

  • Delivery

    • These are just the coordinates for Delivery

  • Burger Job Create Item List

    • All items when creating items

  • Toy Items

    • It is clear

  • Garage and Delivery Mision

    • Any settings for the garage and delivery, such as prices, peds, etc

  • Items

    • All Items that employees buy to do given things!

Done.Have fun wisely and if you buy the resource don't share it or try to resell it. The resource has reserved licensed rights 👏

Last updated