Configuration

1. Adjust config.lua to your server core

  1. Adjusting the script to your server core

Config.Core = "ESX"
Config.CoreExport = function()
    return exports['es_extended']:getSharedObject()
end

  1. Adjusting the PlayerLoaded trigger from server core to the script

Config.PlayerLoaded = "esx:playerLoaded"

  1. Adjusting the PlayerLogout trigger from server core to the script

Config.PlayerLogout = "esx:playerLogout"

  1. Adjusting the PlayerSetJob trigger from server core to the script

Config.PlayerSetJob = "esx:setJob"

  1. 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"

  1. SkinManagers compatibile for ESX: "esx_skin" / "fivem-appearance" / "illenium-appearance"

Config.SkinManager = "esx_skin"

  1. Menus compatibile for ESX: "esx_menu_default" / "esx_context" / "ox_lib"

Config.Menu = 'esx_context'
Config.ESXMenuAlign = 'right'

  1. Menus compatibile for ESX: "esx_menu_default" / "esx_context" / "ox_lib"

Config.FastMenuMenu = 'esx_menu_default'
Config.ESXFastMenuAlign = 'right'

  1. For ESX inventory: 'limit' / 'weight'

Config.ESXInventoryCarry = 'weight'

  1. Society compatibile: "esx_society" or your own so, set it 'other' and change in the config.client.lua (CL.OpenSociety())

Config.Society = 'esx_society'

  1. 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'

  1. 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 = true

  1. Do you want to use fast menu under button

Config.UseFastMenu = true
Config.FastMenuKey = 'f6'
Config.FastMenuCommand = '+f6'

Last updated