mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:01:22 +00:00
tweak(es_extended/config): default to english
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user