Update config.lua
This commit is contained in:
-55
@@ -204,58 +204,3 @@ function DQB:InitializeConfig()
|
||||
merchant.text_color = "ffffff"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
------------------------------------------------------------
|
||||
-- pfUI configuration GUI
|
||||
------------------------------------------------------------
|
||||
|
||||
function DQB:InitializeGUI()
|
||||
|
||||
if not pfUI.gui then
|
||||
return
|
||||
end
|
||||
|
||||
if not pfUI.gui.CreateGUIEntry then
|
||||
return
|
||||
end
|
||||
|
||||
if self.guiInitialized then
|
||||
return
|
||||
end
|
||||
|
||||
self.guiInitialized = true
|
||||
|
||||
local CreateGUIEntry = pfUI.gui.CreateGUIEntry
|
||||
|
||||
|
||||
--------------------------------------------------------
|
||||
-- Main DQB category
|
||||
--------------------------------------------------------
|
||||
|
||||
CreateGUIEntry(
|
||||
"DQB",
|
||||
nil,
|
||||
function()
|
||||
|
||||
local CreateConfig = pfUI.gui.CreateConfig
|
||||
|
||||
if not CreateConfig then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
------------------------------------------------
|
||||
-- Enable DQB
|
||||
------------------------------------------------
|
||||
|
||||
CreateConfig(
|
||||
nil,
|
||||
"Enable DQB",
|
||||
pfUI_config.dqb.general,
|
||||
"enable",
|
||||
"checkbox"
|
||||
)
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user