0
Ik winkel

Snackbarbaan (QBCore)

brave 5KKwQRdLKa jpg

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:

  1. Het script downloaden: Click here to download the Snack Job Script.
  2. De bestanden uitpakken: Once downloaded, extract the .zip file to a folder on your computer.
  3. Uploaden naar server: Use an FTP client to upload the extracted files to your FiveM server’s middelen map.
  4. Update Server Config: Toevoegen ensure snack_shack to your server configuration file (server.cfg).
  5. Server herstarten: Restart your FiveM server to apply the changes and activate the new job.

Adding the items to shared/items.lua

-- 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 },
	},
},
  1. Extract Images: Extract img.rar and add images to the qb-inventaris map.
  2. Add Resource: Toevoegen wxyz-snackshackjob to your resources folder.
  3. Ensure Resource: Toevoegen ensure wxyz-snakcshackjob to your server configuration file.
  4. 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

  • CreatorWxyzOfficial
  • 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!

DELEN:

Geef een reactie

Je e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *


nl_NLDutch
Besteed $50.00 om een 20% korting!
0%
Jouw winkelwagen

Geen producten in de winkelwagen.