This mod adds an engaging and configurable food stall job where players can experience managing their own snack shack. Easy to customize and fun to play, this script guarantees to enhance your FiveM server by providing a new role-playing opportunity for players. It is based on the popular wxyz-crafting
script, ensuring reliability and performance.
Voorbeeld
Over de Mod
The Snack Shack Job Script brings a new “food stall owner” role to your RP server. Here’s what makes this script exciting:
- Configureerbare: You have control over the menu items, prices, and job requirements.
- Interactive Gameplay: Players can prepare and sell a variety of snacks to other players.
- Based on Proven Script: The script builds on the
wxyz-crafting
framework, known for its efficiency and flexibility. - Role-Playing Fun: Adds depth and variety to the server, making role-playing more engaging and interactive.
Downloaden Mirror
Installatie-instructies
Installing the Snack Shack Job Script is simple. Follow these steps:
- Het script downloaden: Click here to download the Snack Job Script.
- De bestanden uitpakken: Once downloaded, extract the
.zip
file to a folder on your computer. - Uploaden naar server: Use an FTP client to upload the extracted files to your FiveM server’s
middelen
map. - Update Server Config: Toevoegen
ensure snack_shack
to your server configuration file (server.cfg
). - Server herstarten: Restart your FiveM server to apply the changes and activate the new job.
-- Add this to qb-core/shared/items.lua
-- snack shack Drinks
["juice"] = {["name"] = "juice", ["label"] = "Strawberry Juice", ["weight"] = 1, ["type"] = "item", ["image"] = "cocktail.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Strawberry Juice"},
-- snack shack Food
["burger"] = {["name"] = "burger", ["label"] = "Cheese Burger", ["weight"] = 1, ["type"] = "item", ["image"] = "burger.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Yummy Chessy Burger"},
-- snack shack Ingridients
["onion"] = {["name"] = "onion", ["label"] = "Onion", ["weight"] = 1, ["type"] = "item", ["image"] = "onion.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "onion"},
["cheese"] = {["name"] = "cheese", ["label"] = "Cheese", ["weight"] = 1, ["type"] = "item", ["image"] = "cheese.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "cheese"},
["cookingoil"] = {["name"] = "cookingoil", ["label"] = "Cooking Oil", ["weight"] = 1, ["type"] = "item", ["image"] = "cookingoil.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "cookingoil"},
["bun"] = {["name"] = "bun", ["label"] = "Bun", ["weight"] = 1, ["type"] = "item", ["image"] = "bun.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Burger Bun"},
["patty"] = {["name"] = "patty", ["label"] = "Patty", ["weight"] = 1, ["type"] = "item", ["image"] = "patty.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "patty"},
["ketchup"] = {["name"] = "ketchup", ["label"] = "Ketchup", ["weight"] = 1, ["type"] = "item", ["image"] = "ketchup.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Tomato ketchup"},
["strawberry"] = {["name"] = "strawberry", ["label"] = "Strawberry", ["weight"] = 1, ["type"] = "item", ["image"] = "strawberry.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "strawberry"},
Smallresources Config.lua
-- Eat
['burger'] = math.random(90, 95),
-- Drink
['cocktail'] = math.random(90, 95),
Add this to Jobs.lua
snack = {
label = 'Snack Shack',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Trainee', payment = 50 },
['1'] = { name = 'Employee', payment = 100 },
['2'] = { name = 'Owner', isboss = true, payment = 150 },
},
},
- Extract Images: Extract
img.rar
and add images to theqb-inventaris
map. - Add Resource: Toevoegen
wxyz-snackshackjob
to your resources folder. - Ensure Resource: Toevoegen
ensure wxyz-snakcshackjob
to your server configuration file. - Server herstarten: Restart your FiveM server to apply the changes and activate the new job.
Compatibiliteit
This mod is fully compatible with servers running QBCore framework.
Credits en dankbetuigingen
- Creator: WxyzOfficial
- Kader: Based on
wxyz-crafting
script.
For more exciting mods, scripts, and MLOs to elevate your FiveM server, check out the links below:
Happy gaming!