💙
Fusion Development Documentation
Join our Discord
  • Welcome
  • Products
    • Reportsystem
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Taximeter
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Restaurants
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Next-Series Banking
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Hoodbell - Fraktionsklingel
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Vehicleshop
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Next-Series Shop
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Next-Series Gangwar
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Lootdrop
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
    • Pausemenu
      • ⬇️Installation
      • ⚙️Configuration
      • ‼️Error Solutions
Powered by GitBook
On this page
  1. Products
  2. Restaurants

Configuration

Config = {}

Config.Debug = false -- If you want to see debug messages in the console

Config.CardKey = "F10" -- Key for the Menu Card (Default: F10)

Config.WordBlacklist = {
    'nigga',
    'hurensohn',
    'fickt eure toten',
    'hitler',
    'bastard',
    'neger',
    'nigger',
    'huso',
    ">",
    "<",
    ".mp3",
    ".mp4"
}

Config.NotifyClient = function(title, text, type)
    -- type: error, info, success
    TriggerEvent("esx:showNotification", text)
end

Config.NotifyServer = function(src, title, text, type) 
    -- type: error, info, success
    TriggerClientEvent("esx:showNotification", src, text)
end

Config.HelpNotify = function(text) 
    ESX.ShowHelpNotification(text)
end

Config.BanTrigger = function(playerId, reason)
    TriggerEvent("EasyAdmin:banPlayer", playerId, reason, false, "")
end

Config.Settings = {
    Marker = {
        colorR = 116,
        colorG = 251,
        colorB = 246
    },
    EnableStateColoring = true,
    BlipColorOpen = 2,
    BlipColorClosed = 1
}

Config.FoodSpots = {
    ['burgershot'] = {
        job = 'burgershot',
        grade = 10,
        opened = false,
        label = "Burgershot",
        Blip = {
            sprite = 536, 
            color = 47,
            label = "Burgershot"
        },
        enableSpeisekarte = true,
        category = 'restaurants',
        openText = "Das Burgershot hat nun für Sie geöffnet!",
        closedText = "Das Burgershot hat nun geschlossen! Wir sind bald wieder für Sie da.",
        ManagePos = vector3(-1189.7050, -894.1136, 13.8861),
        BusinessMeldung = vector3(-1198.6189, -891.5339, 13.8861),
        priceBusinessMeldung = 5000
    },
    ['pearls'] = {
        job = 'pearls',
        grade = 10,
        opened = false,
        label = "Pearls",
        Blip = {
            sprite = 1, 
            color = 1,
            label = "Pearls"
        },
        category = 'stores',
        enableSpeisekarte = true,
        openText = "Das Pearls hat nun für Sie geöffnet!",
        closedText = "Das Pearls hat nun geschlossen! Wir sind bald wieder für Sie da.",
        ManagePos = vector3(-1817.2716, -1185.1865, 14.3047),
        BusinessMeldung = vector3(-1822.6143, -1184.4847, 14.3048),
        priceBusinessMeldung = 5000
    },
}

Config.Shops = { --Privat Shops
    {
        job = 'burgershot',
        grade = 2,
        coords = vector3(-1196.8070, -901.4573, 13.9849),
        items = {
            {
                name = 'fish',
                label = 'Fisch',
                price = 2
            },
            {
                name = 'burgershotfanta',
                label = 'Fanta',
                price = 2
            },
            {
                name = 'cola',
                label = 'Cola',
                price = 2
            },
            {
                name = 'pommes',
                label = 'Pommes',
                price = 2
            }
        }
    },
    
    {
        job = 'pearls',
        grade = 1,
        coords = vector3(-1848.68, -1198.05, 14.31),
        items = {
            {
                name = 'king_crab_leg',
                label = 'King Crab Leg',
                price = 2
            }
        }
    },
}

Config.Locales = {
    pressToManageBusiness = 'Drücke ~INPUT_CONTEXT~ um das Business zu verwalten',
    pressToOpenBusinessNotifyMenu = 'Drücke ~INPUT_CONTEXT~ um eine Meldung zu senden',
    InvalidText = 'Ungültiger Text',
    alreadySentBusinessNotification = 'Du hast bereits eine Meldung gesendet',
    pressToOpenShop = 'Drücke ~INPUT_CONTEXT~ um den Shop zu öffnen',
    businessAlreadyOpen = 'Das Geschäft ist bereits geöffnet!',
    businessAlreadyClosed = 'Das Geschäft ist bereits geschlossen!',
    notEnoughMoney = 'Du hast nicht genug Geld dabei!',
    businessClosed = 'Das Geschäft ist geschlossen!',
    notEnoughInvSpace = 'Du hast nicht genug Platz!',
    notEnoughBlackMoney = 'Du hast nicht genug Schwarzgeld Geld dabei!'
}
PreviousInstallationNextError Solutions

Last updated 2 months ago

If you have any configuration questions or errors, feel free to open a ticket on our !

⚙️
Discord