Installation Guide
Last updated
Last updated
Do not skim the instructions. You need to follow every step of the Install Guide to make sure you're installing the script correctly
We highly recommend putting jim-burgershot in a new folder called [jim]
NOTE: IF YOU ALREADY HAVE A [jim] FOLDER PUT IT IN THAT FOLDER YOU DO NOT NEED TO CREATE A NEW ONE.
Then add ensure [jim] after your other scripts have started in your server.cfg
Add the images from the images folder in to your
INVENTORY > HTML > IMAGES
The following code block goes into your
QB-CORE > SHARED > ITEMS.LUA
--BurgerShot
["potato"] = {["name"] = "potato", ["label"] = "Potatoes", ["weight"] = 500, ["type"] = "item", ["image"] = "potatoes.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Bag of Potatos"},
["slicedpotato"] = {["name"] = "slicedpotato", ["label"] = "Sliced Potatoes", ["weight"] = 500, ["type"] = "item", ["image"] = "burger-slicedpotato.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Sliced Potato"},
["slicedonion"] = {["name"] = "slicedonion", ["label"] = "Sliced Onions", ["weight"] = 500, ["type"] = "item", ["image"] = "burger-slicedonion.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Sliced Onion"},
["icecream"] = {["name"] = "icecream", ["label"] = "Ice Cream", ["weight"] = 500, ["type"] = "item", ["image"] = "burger-icecream.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Ice Cream."},
["milk"] = {["name"] = "milk", ["label"] = "Milk", ["weight"] = 500, ["type"] = "item", ["image"] = "burger-milk.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Carton of Milk", ['thirst'] = math.random(35, 54) },
["lettuce"] = {["name"] = "lettuce", ["label"] = "Lettuce", ["weight"] = 100, ["type"] = "item", ["image"] = "lettuce.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Some big taco brother"},
["onion"] = {["name"] = "onion", ["label"] = "Onion", ["weight"] = 500, ["type"] = "item", ["image"] = "burger-onion.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "An onion"},
["frozennugget"] = {["name"] = "frozennugget", ["label"] = "Frozen Nuggets", ["weight"] = 500, ["type"] = "item", ["image"] = "burger-frozennugget.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Bag of Frozen Nuggets"},
["cheddar"] = {["name"] = "cheddar", ["label"] = "Cheddar Slice", ["weight"] = 500, ["type"] = "item", ["image"] = "cheddar.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Slice of Cheese"},
["burgerbun"] = {["name"] = "burgerbun", ["label"] = "Burger Bun", ["weight"] = 100, ["type"] = "item", ["image"] = "burgerbun.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Some big burger brother"},
["burgerpatty"] = {["name"] = "burgerpatty", ["label"] = "Burger Patty", ["weight"] = 500, ["type"] = "item", ["image"] = "burgerpatty.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Raw Patty"},
["burgermeat"] = {["name"] = "burgermeat", ["label"] = "Burger Meat", ["weight"] = 500, ["type"] = "item", ["image"] = "burgermeat.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Cooked Burger Meat"},
["milkshake"] = {["name"] = "milkshake", ["label"] = "Milkshake", ["weight"] = 500, ["type"] = "item", ["image"] = "burger-milkshake.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "BurgerShot Milkshake", ['thirst'] = math.random(35, 54) },
["shotnuggets"] = {["name"] = "shotnuggets", ["label"] = "Shot Nuggets", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-shotnuggets.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Burgershot Nuggets", ['hunger'] = math.random(40, 50) },
["shotrings"] = {["name"] = "shotrings", ["label"] = "Ring Shots", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-shotrings.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Burgershot Onion Rings", ['hunger'] = math.random(40, 50) },
["heartstopper"] = {["name"] = "heartstopper", ["label"] = "HeartStopper", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-heartstopper.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Heartstopper", ['hunger'] = math.random(50, 60) },
["shotfries"] = {["name"] = "shotfries", ["label"] = "Shot Fries", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-fries.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Shot Fries", ['hunger'] = math.random(40, 50) },
["moneyshot"] = {["name"] = "moneyshot", ["label"] = "Money Shot", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-moneyshot.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Money Shot", ['hunger'] = math.random(40, 50) },
["meatfree"] = {["name"] = "meatfree", ["label"] = "Meat Free", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-meatfree.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Meat Free", ['hunger'] = math.random(40, 50) },
["bleeder"] = {["name"] = "bleeder", ["label"] = "The Bleeder", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-bleeder.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "The Bleeder", ['hunger'] = math.random(40, 50) },
["bscoffee"] = {["name"] = "bscoffee", ["label"] = "BurgerShot Coffee", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-coffee.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "BurgerShot Coffee", ['thirst'] = math.random(35, 54) },
["bscoke"] = {["name"] = "bscoke", ["label"] = "BurgerShot Coke", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-softdrink.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "BurgerShot Cola", ['thirst'] = math.random(35, 54) },
["torpedo"] = {["name"] = "torpedo", ["label"] = "Torpedo", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-torpedo.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "BurgerShot Torpedo", ['hunger'] = math.random(40, 50) },
["rimjob"] = {["name"] = "rimjob", ["label"] = "Rim Job", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-rimjob.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "BurgerShot Donut", ['hunger'] = math.random(40, 50) },
["creampie"] = {["name"] = "creampie", ["label"] = "Creampie", ["weight"] = 200, ["type"] = "item", ["image"] = "burger-creampie.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "BurgerShot Apple Pie", ['hunger'] = math.random(40, 50) },
["cheesewrap"] = {["name"] = "cheesewrap", ["label"] = "BS Cheese Wrap", ["weight"] = 150, ["type"] = "item", ["image"] = "burger-chickenwrap.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "BurgerShot Cheese Wrap", ['hunger'] = math.random(40, 50) },
["chickenwrap"] = {["name"] = "chickenwrap", ["label"] = "BS Goat Cheese Wrap", ["weight"] = 150, ["type"] = "item", ["image"] = "burger-goatwrap.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "BurgerShot Goat Cheese Wrap", ['hunger'] = math.random(40, 50)},
["murderbag"] = {["name"] = "murderbag", ["label"] = "Murder Bag", ["weight"] = 0, ["type"] = "item", ["image"] = "burgerbag.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Grab a Murder Bag of Burgers", },
The following code block goes into your
QB-CORE > SHARED > JOBS.LUA
['burgershot'] = {
label = 'BurgerShot',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Recruit', payment = 50 },
['1'] = { name = 'Novice', payment = 75 },
['2'] = { name = 'Experienced', payment = 100 },
['3'] = { name = 'Advanced', payment = 125 },
['4'] = { name = 'Manager', isboss = true, payment = 150 },
},
},
Make sure the job "treybakery" has been added to your database
The menu's targets should be accessible to bosses from the clock-in spot
The following code block goes into your
DPEMOTES > CLIENT > ANIMATIONLIST.LUA in DP.PropEmotes
RPEMOTES > CLIENT > AnimationListCustom.lua
JIM-CONSUMABLES > CONFIG.lua under Emotes
--Jim-BurgerShot
["milk"] = {"mp_player_intdrink", "loop_bottle", "Milk", AnimationOptions =
{ Prop = "v_res_tt_milk", PropBone = 18905, PropPlacement = {0.10, 0.008, 0.07, 240.0, -60.0},
EmoteMoving = true, EmoteLoop = true, }},
["bscoke"] = {"mp_player_intdrink", "loop_bottle", "BS Coke", AnimationOptions =
{ Prop = "prop_food_bs_juice01", PropBone = 18905, PropPlacement = {0.04, -0.10, 0.10, 240.0, -60.0},
EmoteMoving = true, EmoteLoop = true, }},
["bscoffee"] = {"mp_player_intdrink", "loop_bottle", "BS Coffee", AnimationOptions =
{ Prop = "prop_food_bs_coffee", PropBone = 18905, PropPlacement = {0.08, -0.10, 0.10, 240.0, -60.0},
EmoteMoving = true, EmoteLoop = true, }},
["glass"] = {"amb@world_human_drinking@coffee@male@idle_a", "idle_c", "Tall Glass", AnimationOptions =
{ Prop = 'prop_wheat_grass_glass', PropBone = 28422, PropPlacement = {0.0, 0.0, -0.1, 0.0, 0.0, 0.0},
EmoteLoop = true, EmoteMoving = true, }},
["torpedo"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger_fp", "Torpedo", AnimationOptions =
{ Prop = "prop_food_bs_burger2", PropBone = 18905, PropPlacement = {0.10, -0.07, 0.091, 15.0, 135.0},
EmoteMoving = true, EmoteLoop = true, }},
["bsfries"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger_fp", "Fries", AnimationOptions =
{ Prop = "prop_food_bs_chips", PropBone = 18905, PropPlacement = {0.09, -0.06, 0.05, 300.0, 150.0},
EmoteMoving = true, EmoteLoop = true, }},
["donut2"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Donut2", AnimationOptions =
{ Prop = 'prop_donut_02', PropBone = 18905, PropPlacement = {0.13, 0.05, 0.02, -50.0, 100.0, 270.0},
EmoteMoving = true, EmoteLoop = true, }},
This is Optional - Jim-Consumables is a lightweight resource designed to create your consumables on the fly when you're adjusting buffs and or how much hunger or thirst the item fills.
The following code block goes into your Config under Consumables. Some of these items are already in there by default
--Jim-BurgerShot-Drinks
["bscoffee"] = { emote = "bscoffee", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "drink", stats = { thirst = math.random(55,65), }},
["bscoke"] = { emote = "bscoke", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "drink", stats = { thirst = math.random(55,65), }},
--Jim-BurgerShot-Food
["heartstopper"] = { emote = "burger", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["torpedo"] = { emote = "torpedo", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["shotfries"] = { emote = "bsfries", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["meatfree"] = { emote = "burger", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["shotnuggets"] = { emote = "bsfries", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["shotrings"] = { emote = "bsfries", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["moneyshot"] = { emote = "burger", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["bleeder"] = { emote = "burger", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["rimjob"] = { emote = "donut", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["creampie"] = { emote = "donut", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["cheesewrap"] = { emote = "sandwich", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
["chickenwrap"] = { emote = "sandwich", canRun = false, time = math.random(5000, 6000), stress = math.random(2, 4), heal = 0, armor = 0, type = "food", stats = { hunger = math.random(55,65), }},
Update to the latest version
If using by DullPear
If using by TayMcKenzie
If using - By Jim