Config

Here is the config of script.

This is only the configuration file, inside the script you can change menus, mini-games, etc.

Config = Config or {}
Locales = Locales or {}

--     __________  ___    __  __________       ______  ____  __ __
--    / ____/ __ \/   |  /  |/  / ____/ |     / / __ \/ __ \/ //_/
--   / /_  / /_/ / /| | / /|_/ / __/  | | /| / / / / / /_/ / ,<   
--  / __/ / _, _/ ___ |/ /  / / /___  | |/ |/ / /_/ / _, _/ /| |  
-- /_/   /_/ |_/_/  |_/_/  /_/_____/  |__/|__/\____/_/ |_/_/ |_|  
                                                            
--[[ 
    With the 'auto' option your framework will be automatically selected. 
    If you use a custom framework change to 'custom'. 
    If you only changed the name of your framework, leave it as automatic and change the names below.
]]

Config.Framework = 'auto' -- or ESX, QBCORE, QBX, CUSTOM
Config.FrameOptions = { 
    ESX = {
        name        = 'es_extended',            --- Name of your es_extended
        shared      = 'esx:getSharedObject',    --- Trigger of shared object
        loadPlayer  = 'esx:playerLoaded',       --- Event name of load player
        job         = 'esx:setJob',             --- Event name of job
        playerDeath = 'esx:onPlayerDeath',      --- Event when player death
        playerLogout= 'esx:onPlayerLogout'      --- Event when player disconnect/Unload
    },

    QBCORE = {
        name        = 'qb-core',                      --- Name of your qb-core
        loadPlayer  = 'QBCore:Player:SetPlayerData',  --- Event name of load player
        job         = 'QBCore:Client:OnJobUpdate',
        playerDeath = 'QBCore:Player:onPlayerDeath',  --- Event when player death
        playerLogout= 'QBCore:Client:OnPlayerUnload'  --- Event when player disconnect/Unload
    },

    QBX = {
        name        = 'qbx_core',                      --- Name of your qb-core
        loadPlayer  = 'qbx_core:client:onSetMetaData',  --- Event name of load player
        job         = 'QBCore:Client:OnJobUpdate', 
        playerDeath = 'QBCore:Player:onPlayerDeath',  --- Event when player death
        playerLogout= 'qbx_core:client:playerLoggedOut'  --- Event when player disconnect/Unload
    },

    CUSTOM = {
        name        = 'your-framework',                      --- Name of your qb-core
        loadPlayer  = 'your-framework:SetPlayerData',  --- Event name of load player
        job         = 'QBCore:Client:OnJobUpdate', 
        playerDeath = 'your-framework:onPlayerDeath',  --- Event when player death
        playerLogout= 'your-framework:OnPlayerUnload'  --- Event when player disconnect/Unload
    }
}
-- ❗ IMPORTANT ❗

--  If you need to change something in the files or modify more things like progress bar and so on, all files are open (not encrypted), except those inside _escrow_files and js.

-- ❗ IMPORTANT ❗

--     __                                          
--    / /   ___  ____  ____ ___  ______ _____ ____ 
--   / /   / _ \/ __ \/ __ `/ / / / __ `/ __ `/ _ \
--  / /___/  __/ / / / /_/ / /_/ / /_/ / /_/ /  __/
-- /_____/\___/_/ /_/\__, /\__,_/\__,_/\__, /\___/ 
--                  /____/            /____/ 
--[[  
    ❗ Remember to choose what is between ''
    'es' > Para español.
    'de' > Für Deutsch.
    'fr' > Pour le français.
    'pt' > Para português.
    'en' > For english.
]]
Config.Language = 'en'

--       ____                      __                  
--      /  _/___ _   _____  ____  / /_____  _______  __
--     / // __ \ | / / _ \/ __ \/ __/ __ \/ ___/ / / /
--   _/ // / / / |/ /  __/ / / / /_/ /_/ / /  / /_/ / 
--  /___/_/ /_/|___/\___/_/ /_/\__/\____/_/   \__, /  
--                                           /____/   
--[[ 
    ❗ Remember to choose what is between ''
    > auto > will be automatically selected
    > 'qs' > qs-inventory
    > 'ox' > ox_inventory
    > 'qb' > qb-inventory
    > 'lj' > lj-inventory
    > 'core' > core_inventory
    > 'ps' > ps-inventory
    > 'tgiann' > tgiann-inventory
    > 'codem' > codem-inventory
    > 'ak47' > ak47_inventory
    > 'custom' > custom inventory
]]
Config.Inventory = 'auto'

--      _   __      __  _ _____            __  _           
--     / | / /___  / /_(_) __(_)________ _/ /_(_)___  ____ 
--    /  |/ / __ \/ __/ / /_/ / ___/ __ `/ __/ / __ \/ __ \
--   / /|  / /_/ / /_/ / __/ / /__/ /_/ / /_/ / /_/ / / / /
--  /_/ |_/\____/\__/_/_/ /_/\___/\__,_/\__/_/\____/_/ /_/ 

--[[
    ❗ Remember to choose what is between ''
    ❗ > 'st' > stNotify Use the Discount Code "SpicyTasty" for 15% OFF https://spicytasty.tebex.io/category/2558543
    
    > 'default' > gta native
    > 'okok' > okokNotify
    > 'qs' > qs-notify
    > 'qb' > qb-core
    > 'esx' > esx notification
    > 'qbx' > qbx-core
    > 'custom' -> change on 'stRadio/client/notify/custom'
]]
Config.NotifyScript = 'default'

--[[
    ❗ Remember to choose what is between ''
    > 'auto' > will be automatically selected
    > 'salty' > salty-chat
    > 'pma' > pma-voice
    > 'yaca' > yava-voice
    > 'mumble' > mumble-voip dont tested
]]
Config.VoiceScript = 'auto'

-- It is not advisable to use another pma voice other than the official one, 
-- but if you change the name you should change this
-- https://github.com/AvarianKnight/pma-voice
Config.PMAVoice = 'pma-voice' -- If have another name change it
Config.SaltyName = 'saltychat'
Config.MumbleVoip = 'mumble-voip'
Config.YacaVoice = 'yaca-voice'

--[[
    ❗ Remember to choose what is between ''   
    > 'none' > For remove target and use draw text
    > 'auto' > will be automatically selected
    > 'ox' > ox-target
    > 'qb' > qb-target
]]

Config.Target = 'auto' -- in development

Config.Debug = false

Last updated

Was this helpful?