Configuration
1. Adjust config.lua to your server core
Adjusting the script to your server core
Config.Core = "ESX"
Config.CoreExport = function()
return exports['es_extended']:getSharedObject()
endAdjusting the PlayerLoaded trigger from server core to the script
Config.PlayerLoaded = "esx:playerLoaded"Adjusting the PlayerLogout trigger from server core to the script
Config.PlayerLogout = "esx:playerLogout"Adjusting the PlayerSetJob trigger from server core to the script
Config.PlayerSetJob = "esx:setJob"Adjusting the PlayerSetJob2 (gang) trigger from server core to the script
"esx:setJob2" is custom trigger, does not exist in default ESX
Config.PlayerSetGang = "esx:setJob2"SkinManagers compatibile for ESX:
"esx_skin"/"fivem-appearance"/"illenium-appearance"
Config.SkinManager = "esx_skin"Menus compatibile for ESX:
"esx_menu_default"/"esx_context"/"ox_lib"
Config.Menu = 'esx_context'
Config.ESXMenuAlign = 'right'Menus compatibile for ESX:
"esx_menu_default"/"esx_context"/"ox_lib"
Config.FastMenuMenu = 'esx_menu_default'
Config.ESXFastMenuAlign = 'right'For ESX inventory:
'limit'/'weight'
Config.ESXInventoryCarry = 'weight'Society compatibile:
"esx_society"or your own so, set it 'other' and change in the config.client.lua (CL.OpenSociety())
Config.Society = 'esx_society'Storages compatibile:
"vms_jobs"/"esx_addoninventory"/"qs"or your own so, set it'other'and change in the config.client.lua (CL.OpenStorage())
Config.Storage = 'vms_jobs'When a player leaves the server while in an interior with a routing bucket, upon reconnecting to the server, they will be teleported to that interior along with loading the virtual world they were in.
Config.UseSaveLastInterior = trueDo you want to use fast menu under button
Config.UseFastMenu = true
Config.FastMenuKey = 'f6'
Config.FastMenuCommand = '+f6'Adjusting the script to your server core
Config.Core = "QB-Core"
Config.CoreExport = function()
return exports['qb-core']:GetCoreObject()
endAdjusting the PlayerLoaded trigger from server core to the script
Config.PlayerLoaded = "QBCore:Client:OnPlayerLoaded"Adjusting the PlayerLogout trigger from server core to the script
Config.PlayerLogout = "QBCore:Client:OnPlayerUnload"Adjusting the PlayerSetJob trigger from server core to the script
Config.PlayerSetJob = "QBCore:Client:OnJobUpdate"Adjusting the PlayerSetGang trigger from server core to the script
Config.PlayerSetGang = "QBCore:Client:OnGangUpdate"SkinManagers compatibile for QB-Core:
"qb-clothing"/"fivem-appearance"/"illenium-appearance"
Config.SkinManager = "qb-clothing"Menus compatibile for QB-Core:
"qb-menu"/"ox_lib"
Config.Menu = 'qb-menu'Menus compatibile for QB-Core:
"qb-menu"/"ox_lib"
Config.FastMenuMenu = 'qb-menu'Society compatibile:
"qb-management"or your own so, set it 'other' and change in the config.client.lua (CL.OpenSociety())
Config.Society = 'qb-management'Storages compatibile:
"vms_jobs"/"qb"/"qs"or your own so, set it'other'and change in the config.client.lua (CL.OpenStorage())
Config.Storage = 'vms_jobs'
Config.StorageOptions = { -- for Config.Storage = 'qb'
maxweight = 50000,
slots = 90,
}When a player leaves the server while in an interior with a routing bucket, upon reconnecting to the server, they will be teleported to that interior along with loading the virtual world they were in.
Config.UseSaveLastInterior = trueDo you want to use fast menu under button
Config.UseFastMenu = true
Config.FastMenuKey = 'f6'
Config.FastMenuCommand = '+f6'Last updated
Was this helpful?