Configuration
This section includes all configurable files for the selected script. Most settings are configured automatically, but each config.lua file contains a header comment explaining the purpose and usage of every configuration type. Be sure to read the header of each file carefully to fully understand how to customize and adapt the system for QBCORE, ESX, or standalone environments, ensuring seamless integration with your server.
qs-pausemenu/config.lua
--[[
Welcome to the qs-pausemenu configuration!
To start configuring your new asset, please read carefully
each step in the documentation that we will attach at the end of this message.
Each important part of the configuration will be highlighted with a box.
like this one you are reading now, where I will explain step by step each
configuration available within this file.
This is not all, most of the settings, you are free to modify it
as you wish and adapt it to your framework in the most comfortable way possible.
The configurable files you will find all inside client/custom/*
or inside server/custom/*.
Direct link to the resource documentation, read it before you start:
https://docs.quasar-store.com/information/welcome
]]
Config = Config or {}
Locales = Locales or {}
--[[
██╗░░░░░░█████╗░███╗░░██╗░██████╗░██╗░░░██╗░█████╗░░██████╗░███████╗
██║░░░░░██╔══██╗████╗░██║██╔════╝░██║░░░██║██╔══██╗██╔════╝░██╔════╝
██║░░░░░███████║██╔██╗██║██║░░██╗░██║░░░██║███████║██║░░██╗░█████╗░░
██║░░░░░██╔══██║██║╚████║██║░░╚██╗██║░░░██║██╔══██║██║░░╚██╗██╔══╝░░
███████╗██║░░██║██║░╚███║╚██████╔╝╚██████╔╝██║░░██║╚██████╔╝███████╗
╚══════╝╚═╝░░╚═╝╚═╝░░╚══╝░╚═════╝░░╚═════╝░╚═╝░░╚═╝░╚═════╝░╚══════╝
The first thing will be to choose our main language, here you can choose
between the default languages that you will find within locales/*,
if yours is not there, feel free to create it!
Languages available by default:
'ar'
'bg'
'ca'
'da'
'de'
'en'
'es'
'fa'
'fr'
'he'
'hi'
'it'
'jp'
'ko'
'pt'
'ru'
'tr'
'zh'
]]
Config.Language = 'en' -- 'en' or 'es' by default (you can create more)
--[[
███████╗██████╗░░█████╗░███╗░░░███╗███████╗░██╗░░░░░░░██╗░█████╗░██████╗░██╗░░██╗
██╔════╝██╔══██╗██╔══██╗████╗░████║██╔════╝░██║░░██╗░░██║██╔══██╗██╔══██╗██║░██╔╝
█████╗░░██████╔╝███████║██╔████╔██║█████╗░░░╚██╗████╗██╔╝██║░░██║██████╔╝█████═╝░
██╔══╝░░██╔══██╗██╔══██║██║╚██╔╝██║██╔══╝░░░░████╔═████║░██║░░██║██╔══██╗██╔═██╗░
██║░░░░░██║░░██║██║░░██║██║░╚═╝░██║███████╗░░╚██╔╝░╚██╔╝░╚█████╔╝██║░░██║██║░╚██╗
╚═╝░░░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═╝╚══════╝░░░╚═╝░░░╚═╝░░░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝
Framework configuration and tools of your server!
Please read the usable options carefully, in case they
are not here you can add more or modify the default ones
in the client/custom/* and server/custom/* directories.
Please choose from the following options:
Framework:
'esx'
'qb'
]]
local esxHas = GetResourceState('es_extended') == 'started'
local qbHas = GetResourceState('qb-core') == 'started'
Config.Framework = esxHas and 'esx' or qbHas and 'qb' or 'esx' -- You can change to 'qb' or 'esx'
Config.PoliceJobs = {"miner", "police"}
Config.Logo = "https://i.postimg.cc/4yP68tjv/pause.png"
Config.Links = {
Discord = "https://discord.gg/c85Y5XR3nc",
Rules = "https://www.quasar-store.com/es",
Store = "https://www.quasar-store.com/es",
Facebook = "https://www.quasar-store.com/es",
Instagram = "https://www.quasar-store.com/es",
TikTok = "https://www.quasar-store.com/es",
X = "https://www.quasar-store.com/es",
YouTube = "https://www.youtube.com/@quasarstore/videos",
}
Config.OpenInv = function()
ExecuteCommand("inventory") -- add the export or command here to open the inventory
end