mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
change all Config.locale to convar
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Accounts = {
|
||||
bank = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
-- [Config.EnableCommands]
|
||||
-- Enables Commands Such As /char and /chardel
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
-- Allows players to delete their characters
|
||||
Config.CanDelete = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Config = {}
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.BackpackWeight = {
|
||||
[40] = 16,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Config = {}
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Components = {{
|
||||
label = _U('sex'),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Config = {}
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Price = 100
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Config = {}
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
Config.MinPlayer = 10 --Set how many players need to be connect before whitelist start, 0-32
|
||||
|
||||
@@ -8,7 +8,7 @@ Config.ReviveReward = 700 -- Revive reward, set to 0 if you don't
|
||||
Config.SaveDeathStatus = true -- Save Death Status?
|
||||
Config.LoadIpl = true -- Disable if you're using fivem-ipl or other IPL loaders
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.DistressBlip = {
|
||||
Sprite = 310,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Config = {}
|
||||
Config.DrawDistance = 10.0
|
||||
Config.BankSavingPercentage = 2.5
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Zones = {
|
||||
BankActions = {
|
||||
|
||||
@@ -7,7 +7,7 @@ Config.MarkerSize = vector3(1.5, 1.5, 1.0)
|
||||
Config.MarkerColor = {r = 102, g = 102, b = 204}
|
||||
Config.MarkerType = 1
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Shops = {
|
||||
vector3(-814.3, -183.8, 36.6),
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
Config.Visible = true
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Config = {}
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.LicenseEnable = true -- enable boat license? Requires esx_license
|
||||
Config.LicensePrice = 50000
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Price = 250
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.ToggleKey = "CAPITAL"
|
||||
|
||||
@@ -2,7 +2,7 @@ Config = {}
|
||||
Config.DrawDistance = 10.0
|
||||
Config.MaxErrors = 5
|
||||
Config.SpeedMultiplier = 3.6
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Prices = {
|
||||
dmv = 500,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Config = {}
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Delays = {
|
||||
WeedProcessing = 1000 * 7
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Config = {}
|
||||
Config.Locale = "en"
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.DrawDistance = 10.0
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Marker = {
|
||||
r = 250, g = 0, b = 0, a = 100, -- red color
|
||||
|
||||
@@ -7,7 +7,7 @@ Config.MarkerType = 27
|
||||
Config.Debug = ESX.GetConfig().EnableDebug
|
||||
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Zones = {
|
||||
vector3(-265.08, -964.1, 30.3)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Config = {}
|
||||
Config.DrawDistance = 10.0
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
Config.Jobs = {}
|
||||
|
||||
Config.MaxCaution = 10000 -- the max caution allowed
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Config = {}
|
||||
Config.DrawDistance = 10.0
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
Config.IsMechanicJobOnly = false
|
||||
|
||||
Config.Zones = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.DrawDistance = 10.0 -- How close you need to be in order for the markers to be drawn (in GTA units).
|
||||
Config.MaxInService = -1
|
||||
|
||||
@@ -2,4 +2,4 @@ Config = {}
|
||||
|
||||
Config.TickTime = 100
|
||||
Config.UpdateClientTime = 5000
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Config = {}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
@@ -20,7 +20,7 @@ Config.EnableCustomPeds = false -- Enable custom peds in cloak room? S
|
||||
Config.EnableESXService = false -- Enable esx service?
|
||||
Config.MaxInService = -1 -- How many people can be in service at once? Set as -1 to have no limit
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.OxInventory = ESX.GetConfig().OxInventory
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Config.OwnedBlips = true -- Add blips for Owned Properties
|
||||
---------------------------------------------------------------
|
||||
|
||||
--------------------- General Settings ---------------------------------
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
Config.Shells = false -- Enable/Disable Shell Interiors Default: false
|
||||
Config.SaveInterval = 5 -- Interval in Minutes to Save Properties
|
||||
Config.CanAlwaysExit = true -- Disabling this allows players to be locked in
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Config = {}
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
Config.OnlyFirstname = false
|
||||
Config.EnableESXIdentity = true -- RP names
|
||||
|
||||
@@ -3,7 +3,7 @@ Config.DrawDistance = 7.5
|
||||
Config.MarkerSize = {x = 1.1, y = 0.7, z = 1.1}
|
||||
Config.MarkerType = 29
|
||||
Config.MarkerColor = {r = 50, g = 200, b = 50, a = 200}
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.Zones = {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Config = {}
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
Config.EnableESXIdentity = true
|
||||
Config.MaxSalary = 3500
|
||||
|
||||
@@ -9,7 +9,7 @@ Config.MaxInService = -1 -- How much people can be in service at o
|
||||
Config.EnablePlayerManagement = true -- Enable society managing.
|
||||
Config.EnableSocietyOwnedVehicles = false
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.OxInventory = ESX.GetConfig().OxInventory
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Config.MarkerColor = {r = 120, g = 120, b = 240}
|
||||
Config.EnablePlayerManagement = false -- enables the actual car dealer job. You'll need esx_addonaccount, esx_billing and esx_society
|
||||
Config.ResellPercentage = 50
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.LicenseEnable = false -- require people to own drivers license when buying vehicles? Only applies if EnablePlayerManagement is disabled. Requires esx_license
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ Config.Size = { x = 1.5, y = 1.5, z = 0.5 }
|
||||
Config.Color = { r = 0, g = 128, b = 255 }
|
||||
Config.Type = 1
|
||||
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = GetConvar('esx:locale', 'en')
|
||||
|
||||
Config.OxInventory = ESX.GetConfig().OxInventory
|
||||
|
||||
|
||||
Reference in New Issue
Block a user