tweak(es_extended/config): default to english

This commit is contained in:
Kasey FItton
2024-10-15 15:40:58 +01:00
parent 136c62bf77
commit d077156c88
+5 -1
View File
@@ -3,7 +3,11 @@ Config = {}
local txAdminLocale = GetConvar("txAdmin-locale", "en")
local esxLocale = GetConvar("esx:locale", "none")
Config.Locale = (esxLocale == "none" and txAdminLocale ~= "custom") and txAdminLocale or esxLocale
if esxLocale == "none" then
Config.Locale = txAdminLocale ~= "custom" and txAdminLocale or "en"
else
Config.Locale = esxLocale
end
Config.OxInventory = GetResourceState("ox_inventory") ~= 'missing'