diff --git a/[esx]/esx_identity/config.lua b/[esx]/esx_identity/config.lua index 01d1e4c4..da530df7 100644 --- a/[esx]/esx_identity/config.lua +++ b/[esx]/esx_identity/config.lua @@ -3,7 +3,7 @@ Config.Locale = 'en' -- [Config.EnableCommands] -- Enables Commands Such As /char and /chardel -Config.EnableCommands = false +Config.EnableCommands = ESX.GetConfig().Debug Config.UseDeferrals = false -- EXPERIMENTAL Character Registration Method. @@ -16,4 +16,4 @@ Config.LowestYear = 1900 -- 112 years old is the oldest you can be. Config.HighestYear = 2003 -- 18 years old is the youngest you can be. Config.FullCharDelete = true -- Delete all reference to character. -Config.EnableDebugging = false -- prints for debugging :) +Config.EnableDebugging = ESX.GetConfig().Debug -- prints for debugging :) diff --git a/[esx]/esx_notify/Notify.lua b/[esx]/esx_notify/Notify.lua index 3778e9f3..619c796b 100644 --- a/[esx]/esx_notify/Notify.lua +++ b/[esx]/esx_notify/Notify.lua @@ -1,4 +1,4 @@ -Debug = false +local Debug = ESX.GetConfig().Debug ---@param type string the notification type ---@param length number the length of the notification diff --git a/[esx]/esx_textui/TextUI.lua b/[esx]/esx_textui/TextUI.lua index 18bef60b..e0e571f6 100644 --- a/[esx]/esx_textui/TextUI.lua +++ b/[esx]/esx_textui/TextUI.lua @@ -1,4 +1,4 @@ -Debug = false +Debug = ESX.GetConfig().Debug ---@param message any ---@param type string diff --git a/[esx_addons]/esx_joblisting/config.lua b/[esx_addons]/esx_joblisting/config.lua index a053d362..b599b238 100644 --- a/[esx_addons]/esx_joblisting/config.lua +++ b/[esx_addons]/esx_joblisting/config.lua @@ -4,6 +4,8 @@ Config.DrawDistance = 10.0 Config.ZoneSize = {x = 2.7, y = 2.7, z = 0.5} Config.MarkerColor = {r = 100, g = 200, b = 104} Config.MarkerType = 27 +Config.Debug = ESX.GetConfig().Debug + Config.Locale = 'en' diff --git a/[esx_addons]/esx_sit/config.lua b/[esx_addons]/esx_sit/config.lua index a00bc82c..0d3e3275 100644 --- a/[esx_addons]/esx_sit/config.lua +++ b/[esx_addons]/esx_sit/config.lua @@ -1,7 +1,7 @@ Config = {} Config.MaxDistance = 1.5 -Config.Debug = false +Config.Debug = ESX.GetConfig().Debug Config.Interactables = { 'prop_bench_01a',