FiveM插件 QBCore汉堡王工作 (2024 年 3 月 19 日重写)

FiveM插件 QBCore汉堡王工作 (2024 年 3 月 19 日重写)

🎀 🌸

FiveM插件 QBCore汉堡王工作 (2024 年 3 月 19 日重写)

使用的免费 MLO 链接: https://gta5mod.net/gta-5-mods/maps/mlo-gta-iv-burgershot-interior-sp-fivem-v2-0/

依赖

可选插件

对于 QBCore 用户,请将此代码添加到您的 @qb-core/shared/jobs.lua。ESX 用户必须自己动手。

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

对于 qb-inventory 用户,请添加到您的 qb-core/shared/items.lua

["burger-bleeder"] 				 = {["name"] = "burger-bleeder", 			 	["label"] = "Bleeder", 					["weight"] = 250, 		["type"] = "item", 		["image"] = "bs_the-bleeder.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "."},
["burger-moneyshot"] 			 = {["name"] = "burger-moneyshot", 			 	["label"] = "Moneyshot", 				["weight"] = 300, 		["type"] = "item", 		["image"] = "bs_money-shot.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "."},
["burger-torpedo"] 				 = {["name"] = "burger-torpedo", 			 	["label"] = "Torpedo", 					["weight"] = 310, 		["type"] = "item", 		["image"] = "bs_torpedo.png", 				["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "."},
["burger-heartstopper"] 		 = {["name"] = "burger-heartstopper", 			["label"] = "Heartstopper", 			["weight"] = 2500, 		["type"] = "item", 		["image"] = "bs_the-heart-stopper.png", 	["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "."},
["burger-meatfree"] 		 	 = {["name"] = "burger-meatfree", 				["label"] = "MeatFree", 			["weight"] = 125, 		["type"] = "item", 			["image"] = "bs_meat-free.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "."},
["burger-fries"] 				 = {["name"] = "burger-fries", 			 	  	["label"] = "Fries", 				["weight"] = 125, 		["type"] = "item", 			["image"] = "bs_fries.png", 				["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "."},
["burger-softdrink"] 			 = {["name"] = "burger-softdrink", 				["label"] = "Soft Drink", 				["weight"] = 125, 		["type"] = "item", 		["image"] = "bs_softdrink.png", 		["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ice Cold Drink."},
["burger-mshake"] 			     = {["name"] = "burger-mshake", 				["label"] = "Milkshake", 				["weight"] = 125, 		["type"] = "item", 		["image"] = "bs_milkshake.png", 		["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Hand-scooped for you!"},
["burger-bun"] 				 	 = {["name"] = "burger-bun", 			 	  	["label"] = "Bun", 			["weight"] = 125, 		["type"] = "item", 					["image"] = "bs_bun.png", 		    		["unique"] = false, 	["useable"] = false, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
["burger-meat"] 				 = {["name"] = "burger-meat", 			 	  	["label"] = "Cooked Patty", 			["weight"] = 125, 		["type"] = "item", 		["image"] = "bs_patty.png", 		    	["unique"] = false, 	["useable"] = false, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
["burger-lettuce"] 				 = {["name"] = "burger-lettuce", 			 	["label"] = "Lettuce", 				["weight"] = 125, 		["type"] = "item", 			["image"] = "bs_lettuce.png", 	    		["unique"] = false, 	["useable"] = false, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
["burger-tomato"] 				 = {["name"] = "burger-tomato", 			 	["label"] = "Tomato", 				["weight"] = 125, 		["type"] = "item", 			["image"] = "bs_tomato.png", 	    		["unique"] = false, 	["useable"] = false, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
["burger-raw"] 				 	 = {["name"] = "burger-raw", 			 		["label"] = "Raw Patty", 				["weight"] = 125, 		["type"] = "item", 		["image"] = "bs_patty_raw.png", 	        ["unique"] = false, 	["useable"] = false, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
["burger-potato"] 				 = {["name"] = "burger-potato", 			 	["label"] = "Bag of Potatoes", 		["weight"] = 1500, 		["type"] = "item", 			["image"] = "bs_potato.png", 	    		["unique"] = false, 	["useable"] = false, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
["burger-mshakeformula"] 		 = {["name"] = "burger-mshakeformula", 			["label"] = "Milkshake Formula", 		["weight"] = 125, 		["type"] = "item", 		["image"] = "bs_ingredients_icecream.png", ["unique"] = false, 	["useable"] = false, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
["burger-sodasyrup"] 		 	 = {["name"] = "burger-sodasyrup", 				["label"] = "Soda Syrup", 		["weight"] = 125, 		["type"] = "item", 				["image"] = "bs_ingredients_hfcs.png", 	["unique"] = false, 	["useable"] = false, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},

对于 ox 库存用户,请添加到您的 items.lua

["burger-sodasyrup"] = {
    label = "Soda Syrup", weight = 125, stack = true, close = true, degrade = 5760, description = "An Ingredient", client = { image = "bs_ingredients_hfcs.png", }
},
["burger-tomato"] = {
    label = "Tomato", weight = 125, stack = true, close = true, description = "An Ingredient", client = { image = "bs_tomato.png", }
},
["burger-bleeder"] = {
    label = "Bleeder", weight = 250, stack = true, close = true, decay = true, degrade = 5760, description = "It's a food item dude.", 
    client = { image = "bs_the-bleeder.png", },
    server = { export = 'randol_burgershot.burger-bleeder', },
},
["burger-moneyshot"] = {
    label = "Moneyshot", weight = 300, stack = true, close = true, decay = true, degrade = 5760, description = "It's a food item dude.", 
    client = { image = "bs_money-shot.png", },
    server = { export = 'randol_burgershot.burger-moneyshot', },
},
["burger-meatfree"] = {
    label = "MeatFree", weight = 125, stack = true, close = true, decay = true, degrade = 5760, description = "It's a food item dude.", 
    client = { image = "bs_meat-free.png", },
    server = { export = 'randol_burgershot.burger-meatfree', },
},
["burger-potato"] = {
    label = "Bag of Potatoes", weight = 1500, stack = true, close = true, description = "An Ingredient", client = { image = "bs_potato.png", }
},
["burger-mshake"] = {
    label = "Milkshake", weight = 125, stack = true, close = true, decay = true, degrade = 5760, description = "Hand-scooped for you!", 
    client = { image = "bs_milkshake.png", },
    server = { export = 'randol_burgershot.burger-mshake', },
},
["burger-lettuce"] = { label = "Lettuce", weight = 125, stack = true, close = true, description = "An Ingredient", client = { image = "bs_lettuce.png", }
},
["burger-raw"] = { label = "Raw Patty", weight = 125, stack = true, close = true, description = "An Ingredient", client = { image = "bs_patty_raw.png", }
},
["burger-heartstopper"] = {
    label = "Heartstopper", weight = 2500, stack = true, close = true, decay = true, degrade = 5760, description = "It's a food item dude.", 
    client = { image = "bs_the-heart-stopper.png", },
    server = { export = 'randol_burgershot.burger-heartstopper', },
},
["burger-mshakeformula"] = {
    label = "Milkshake Formula", weight = 125, stack = true, close = true, description = "An Ingredient", client = { image = "bs_ingredients_icecream.png", }
},
["burger-fries"] = {
    label = "Fries", weight = 125, stack = true, close = true, decay = true, degrade = 5760, description = "It's a food item dude.", 
    client = { image = "bs_fries.png", },
    server = { export = 'randol_burgershot.burger-fries', },
},
["burger-torpedo"] = {
    label = "Torpedo", weight = 310, stack = true, close = true, decay = true, degrade = 5760, description = "It's a food item dude.", 
    client = { image = "bs_torpedo.png", },
    server = { export = 'randol_burgershot.burger-torpedo', },
},
["burger-bun"] = {
    label = "Bun", weight = 125, stack = true, close = true, description = "An Ingredient", client = { image = "bs_bun.png", }
},
["burger-softdrink"] = {
    label = "Soft Drink", weight = 125, stack = true, close = true, decay = true, degrade = 5760, description = "An Ice Cold Drink.", 
    client = { image = "bs_softdrink.png", },
    server = { export = 'randol_burgershot.burger-softdrink', },
},

 

 

 

 

 

© 版权声明
THE END
喜欢就支持一下吧
点赞11 分享
评论 共2条
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复
    • 头像yicin0