diff --git a/[core]/es_extended/fxmanifest.lua b/[core]/es_extended/fxmanifest.lua index 40cdf646..5c555c78 100644 --- a/[core]/es_extended/fxmanifest.lua +++ b/[core]/es_extended/fxmanifest.lua @@ -9,7 +9,7 @@ shared_scripts { 'locale.lua', 'locales/*.lua', - 'shared/config/config.lua', + 'shared/config/main.lua', 'shared/config/weapons.lua', 'shared/config/adjustments.lua', diff --git a/[core]/es_extended/shared/config/config.lua b/[core]/es_extended/shared/config/main.lua similarity index 96% rename from [core]/es_extended/shared/config/config.lua rename to [core]/es_extended/shared/config/main.lua index 94020196..31de8b5a 100644 --- a/[core]/es_extended/shared/config/config.lua +++ b/[core]/es_extended/shared/config/main.lua @@ -56,3 +56,6 @@ Config.AdminLogging = false -- Logs the usage of certain commands by those with -- Do NOT change the following unless you know what you are doing Config.EnableDefaultInventory = not Config.CustomInventory -- Display the default Inventory ( F2 ) +if GetResourceState("ox_inventory") ~= "missing" then + Config.CustomInventory = "ox" +end