- Detailed Burger Shot Job [QBCORE]
- New QBCore
- Updated for the Burgershot 2023 map!
- Duty On/Off
- Job Fridge
- Low Resmon
- Making ice cream
- Detailed create menus
- Burger Shot custom car
- Easy editable Config file
- Easy editable language file
- All created products can be used
- NPCs that you can earn money by selling menus
- You cannot start work without washing your hands
- Script using full qb-target and DrawText3D(only 1)/(soon ui)
- To pack menus (Small Size Menu - Big Size Menu - Coffee Menu)
- Add the following code to your
qb-core/shared/jobs.lua
['burgershot'] = {
label = 'Burger Shot',
type = "burgershot",
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = {
name = 'Employee',
payment = 50
},
['1'] = {
name = 'Employer',
isboss = true,
payment = 150
},
},
},
- Add the following code to your
qb-core/shared/ıtems.lua
--Burger Shot Items
--Big Size
['burgershot_bagbig'] = { ['name'] = 'burgershot_bagbig', ['label'] = 'Big Size Package', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_bagbig.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "1x Big King, 1x Big Size Cola, 1x Big Size Patato", },
['burgershot_bigking'] = { ['name'] = 'burgershot_bigking', ['label'] = 'Big King Burger', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_bigking.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Big King", },
['burgershot_colab'] = { ['name'] = 'burgershot_colab', ['label'] = 'Big Size Cola', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_colab.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Big Size Cola", },
['burgershot_patatob'] = { ['name'] = 'burgershot_patatob', ['label'] = 'Big Size Patato', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_patatob.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Big Size Patato", },
--Small Size
['burgershot_bagsmall'] = { ['name'] = 'burgershot_bagsmall', ['label'] = 'Small Size Package', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_bagsmall.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "1x Bleeder Burger, 1x Small Size Cola, 1x Small Size Patato", },
['burgershot_bleeder'] = { ['name'] = 'burgershot_bleeder', ['label'] = 'Bleeder Burger', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_bleeder.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Bleeder Burger", },
['burgershot_colas'] = { ['name'] = 'burgershot_colas', ['label'] = 'Small Size Cola', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_colas.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Small Size Cola", },
['burgershot_patatos'] = { ['name'] = 'burgershot_patatos', ['label'] = 'Small Size Patato', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_patatos.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Small Size Patato", },
--Goat Menu (Big Kola)
['burgershot_baggoat'] = { ['name'] = 'burgershot_baggoat', ['label'] = 'Goat Menu Package', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_baggoat.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "1x Goat Wrap, 1x Big Size Cola, 1x Shot Nuggets, 1x Shot Rings", },
['burgershot_goatwrap'] = { ['name'] = 'burgershot_goatwrap', ['label'] = 'Goat Wrap', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_goatwrap.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Goat Wrap", },
['burgershot_shotnuggets'] = { ['name'] = 'burgershot_shotnuggets', ['label'] = 'Shot Nuggets', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_shotnuggets.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Shot Nuggets", },
['burgershot_shotrings'] = { ['name'] = 'burgershot_shotrings', ['label'] = 'Shot Rings', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_shotrings.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Shot Rings", },
--Coffee Menu
['burgershot_bagcoffe'] = { ['name'] = 'burgershot_bagcoffe', ['label'] = 'Coffee Package', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_bagcoffe.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "1x Coffee, 1x Macaroon", },
['burgershot_coffee'] = { ['name'] = 'burgershot_coffee', ['label'] = 'Burger Shot Coffee', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_coffee.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Burger Shot Coffee", },
['burgershot_macaroon'] = { ['name'] = 'burgershot_macaroon', ['label'] = 'Macaroon', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_macaroon.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Macaroon", },
--Toys
['burgershot_toy1'] = { ['name'] = 'burgershot_toy1', ['label'] = 'Burger Shot Toy', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_toy1.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Burger Shot Toy", },
['burgershot_toy2'] = { ['name'] = 'burgershot_toy2', ['label'] = 'Burger Shot Toy', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_toy2.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Burger Shot Toy", },
['burgershot_toy3'] = { ['name'] = 'burgershot_toy3', ['label'] = 'Burger Shot Toy', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_toy3.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Burger Shot Toy", },
['burgershot_toy4'] = { ['name'] = 'burgershot_toy4', ['label'] = 'Burger Shot Toy', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_toy4.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Burger Shot Toy", },
['burgershot_toy5'] = { ['name'] = 'burgershot_toy5', ['label'] = 'Burger Shot Toy', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_toy5.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Burger Shot Toy", },
['burgershot_toy6'] = { ['name'] = 'burgershot_toy6', ['label'] = 'Burger Shot Toy', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_toy6.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Burger Shot Toy", },
--Fridge Items
['burgershot_tomato'] = { ['name'] = 'burgershot_tomato', ['label'] = 'Tomato', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_tomato.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Tomato", },
['burgershot_cheddar'] = { ['name'] = 'burgershot_cheddar', ['label'] = 'Cheddar', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_cheddar.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Cheddar", },
['burgershot_curly'] = { ['name'] = 'burgershot_curly', ['label'] = 'Curly', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_curly.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Curly", },
['burgershot_sauce'] = { ['name'] = 'burgershot_sauce', ['label'] = 'Sauce', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_sauce.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Sauce", },
['burgershot_bread'] = { ['name'] = 'burgershot_bread', ['label'] = 'Bread', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_bread.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Bread", },
['burgershot_lavash'] = { ['name'] = 'burgershot_lavash', ['label'] = 'Lavash', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_lavash.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Lavash", },
['burgershot_bigcardboard'] = { ['name'] = 'burgershot_bigcardboard', ['label'] = 'Big Size Cardboard', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_bigcardboard.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Big Size Cardboard", },
['burgershot_smallcardboard'] = { ['name'] = 'burgershot_smallcardboard', ['label'] = 'Small Size Cardboard', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_smallcardboard.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Small Size Cardboard", },
['burgershot_smallemptyglass'] = { ['name'] = 'burgershot_smallemptyglass', ['label'] = 'Small Size Empty Glass', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_smallemptyglass.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Small Size Empty Glass", },
['burgershot_bigemptyglass'] = { ['name'] = 'burgershot_bigemptyglass', ['label'] = 'Big Size Empty Glass', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_bigemptyglass.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Big Size Empty Glass", },
['burgershot_coffeeemptyglass'] = { ['name'] = 'burgershot_coffeeemptyglass', ['label'] = 'Coffee Empty Glass', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_coffeeemptyglass.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Coffee Empty Glass", },
['burgershot_frozenmeat'] = { ['name'] = 'burgershot_frozenmeat', ['label'] = 'Frozen Meat', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_frozenmeat.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Frozen Meat", },
['burgershot_frozenrings'] = { ['name'] = 'burgershot_frozenrings', ['label'] = 'Frozen Rings', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_frozenrings.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Frozen Rings", },
['burgershot_frozennuggets'] = { ['name'] = 'burgershot_frozennuggets', ['label'] = 'Frozen Nuggets', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_frozennuggets.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Frozen Nuggets", },
['burgershot_smallfrozenpotato'] = { ['name'] = 'burgershot_smallfrozenpotato', ['label'] = 'Small Size Frozen Potato', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_smallfrozenpotato.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Small Size Frozen Potato", },
['burgershot_bigfrozenpotato'] = { ['name'] = 'burgershot_bigfrozenpotato', ['label'] = 'Big Size Frozen Potato', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_bigfrozenpotato.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Big Size Frozen Potato", },
['burgershot_meat'] = { ['name'] = 'burgershot_meat', ['label'] = 'Meat', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_meat.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Meat", },
--Ice Cream
['burgershot_thesmurfsicecream'] = { ['name'] = 'burgershot_thesmurfsicecream', ['label'] = 'The Smurfs Ice Cream', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_thesmurfsicecream.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "The Smurfs Ice Cream", },
['burgershot_smurfetteicecream'] = { ['name'] = 'burgershot_smurfetteicecream', ['label'] = 'Smurfette Ice Cream', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_smurfetteicecream.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Smurfette Ice Cream", },
['burgershot_matchaicecream'] = { ['name'] = 'burgershot_matchaicecream', ['label'] = 'Matcha Ice Cream', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_matchaicecream.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Matcha Ice Cream", },
['burgershot_ubeicecream'] = { ['name'] = 'burgershot_ubeicecream', ['label'] = 'Ube Ice Cream', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_ubeicecream.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Ube Ice Cream", },
['burgershot_unicornicecream'] = { ['name'] = 'burgershot_unicornicecream', ['label'] = 'Unicorn Ice Cream', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_unicornicecream.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Unicorn Ice Cream", },
['burgershot_vanillaicecream'] = { ['name'] = 'burgershot_vanillaicecream', ['label'] = 'Vanilla Ice Cream', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_vanillaicecream.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Vanilla Ice Cream", },
['burgershot_chocolateicecream'] = { ['name'] = 'burgershot_chocolateicecream', ['label'] = 'Chocolate Ice Cream', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_chocolateicecream.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Chocolate Ice Cream", },
['burgershot_strawberryicecream'] = { ['name'] = 'burgershot_strawberryicecream', ['label'] = 'Strawberry Ice Cream', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_strawberryicecream.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Strawberry Ice Cream", },
['burgershot_icecreamcone'] = { ['name'] = 'burgershot_icecreamcone', ['label'] = 'Empty Cone', ['weight'] = 100, ['type'] = 'item', ['image'] = 'burgershot_icecreamcone.png', ['unique'] = true,['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "Cone", },
- Add the following code to your
qb-smallresources/config/ConsumablesEat
--Burger Shot Eat
["burgershot_bigking"] = math.random(40, 50),
["burgershot_bleeder"] = math.random(20, 30),
["burgershot_goatwrap"] = math.random(50, 60),
["burgershot_macaroon"] = math.random(10, 15),
["burgershot_patatob"] = math.random(15, 20),
["burgershot_patatos"] = math.random(5, 10),
["burgershot_shotnuggets"] = math.random(10, 15),
["burgershot_shotrings"] = math.random(10, 15),
["burgershot_thesmurfsicecream"] = math.random(1, 3),
["burgershot_smurfetteicecream"] = math.random(1, 3),
["burgershot_matchaicecream"] = math.random(1, 3),
["burgershot_ubeicecream"] = math.random(1, 3),
["burgershot_unicornicecream"] = math.random(1, 3),
["burgershot_vanillaicecream"] = math.random(1, 3),
["burgershot_chocolateicecream"] = math.random(1, 3),
["burgershot_strawberryicecream"] = math.random(1, 3),
- Add the following code to your
qb-smallresources/config/ConsumablesDrink
--Burger Shot Drink
["burgershot_colab"] = math.random(40, 50),
["burgershot_colas"] = math.random(20, 30),
["burgershot_coffee"] = math.random(10, 20),
- Add the following code to your
qb-smallresources/server/consumables.lua
--Burger Shot
QBCore.Functions.CreateUseableItem("burgershot_bigking", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_bleeder", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_goatwrap", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_macaroon", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_patatob", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_patatos", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_shotnuggets", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_shotrings", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_thesmurfsicecream", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_smurfetteicecream", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_matchaicecream", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_ubeicecream", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_unicornicecream", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_vanillaicecream", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_chocolateicecream", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_strawberryicecream", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Eat", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_colab", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Drink", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_colas", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Drink", source, item.name)
end)
QBCore.Functions.CreateUseableItem("burgershot_coffee", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:Drink", source, item.name)
end)
- Download the script and open images folder, put it in the
qb-inventory/html/images
directory.
- Download the burgershot-2023-map, then go inside
[FIVEM]
and drag that to your resources folder & burgershot-van folder, put it in the your stream file directory.
ensure burgershot-map
ensure burgershot-van
- Download the script and put it in the
[qb]
directory. - Add the following code to your server.cfg/resouces.cfg
ensure rz-burgershot
ONE AGAIN ALL CREDITS AND THANKS GO TO rz4never FOR THE SCRIPT AND uNiqx FOR THE MAP!!! ❤️