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
Step 5
Consumables
Follow all steps very carefully on Step 5
ConsumablesEat
Find the file qb-smallresources/config.lua
Find the following!
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
ConsumablesDrink
Find the file qb-smallresources/config.lua
Find the following!
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
Find the file qb-smallresources/client/consumables.lua
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
Find the file qb-smallresources/server/consumables.lua
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
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
Find the file qb-management/client/cl_config.lua
Add to cl_config.lua
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
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π
--Burger Job ConsumablesEat
QBCore.Functions.CreateUseableItem("burger-bleeder", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bsbleeder", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("burger-moneyshot", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bsmoneyshot", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("burger-torpedo", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bstorpedo", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("burger-heartstopper", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bsheartstopper", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("burger-meatfree", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bsmeatfree", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("burger-fries", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bsfries", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("burger-rimjob", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bsrimjob", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("burger-shotrings", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bsshotrings", source, item.name)
end
end)
--Burger Job ConsumablesDrink
QBCore.Functions.CreateUseableItem("burger-softdrink", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bssoftdrink", source, item.name)
end
end)
QBCore.Functions.CreateUseableItem("burger-mshake", function(source, item)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
TriggerClientEvent("consumables:client:bsmshake", source, item.name)
end
end)