0.0.1
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
local moduleType = "progressbar" -- Module category
|
||||
local moduleName = "jaksam" -- THIS module name
|
||||
|
||||
-- Don't touch, required to appear in in-game settings
|
||||
Integrations.modules = Integrations.modules or {}
|
||||
Integrations.modules[moduleType] = Integrations.modules[moduleType] or {}
|
||||
Integrations[moduleType] = Integrations[moduleType] or {}
|
||||
Integrations[moduleType][moduleName] = {}
|
||||
table.insert(Integrations.modules[moduleType], moduleName)
|
||||
|
||||
--[[
|
||||
You can edit below here
|
||||
]]
|
||||
Integrations[moduleType][moduleName].start = function(time, text, hexColor)
|
||||
Dialogs.startProgressBar(time, text, hexColor)
|
||||
end
|
||||
@@ -0,0 +1,19 @@
|
||||
local moduleType = "progressbar" -- Module category
|
||||
local moduleName = "ox_lib" -- THIS module name
|
||||
|
||||
-- Don't touch, required to appear in in-game settings
|
||||
Integrations.modules = Integrations.modules or {}
|
||||
Integrations.modules[moduleType] = Integrations.modules[moduleType] or {}
|
||||
Integrations[moduleType] = Integrations[moduleType] or {}
|
||||
Integrations[moduleType][moduleName] = {}
|
||||
table.insert(Integrations.modules[moduleType], moduleName)
|
||||
|
||||
--[[
|
||||
You can edit below here
|
||||
]]
|
||||
Integrations[moduleType][moduleName].start = function(time, text, hexColor)
|
||||
lib.progressBar({
|
||||
duration = time,
|
||||
label = text,
|
||||
})
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
local moduleType = "progressbar" -- Module category
|
||||
local moduleName = "qb_core" -- THIS module name
|
||||
|
||||
-- Don't touch, required to appear in in-game settings
|
||||
Integrations.modules = Integrations.modules or {}
|
||||
Integrations.modules[moduleType] = Integrations.modules[moduleType] or {}
|
||||
Integrations[moduleType] = Integrations[moduleType] or {}
|
||||
Integrations[moduleType][moduleName] = {}
|
||||
table.insert(Integrations.modules[moduleType], moduleName)
|
||||
|
||||
--[[
|
||||
You can edit below here
|
||||
]]
|
||||
Integrations[moduleType][moduleName].start = function(time, text, hexColor)
|
||||
QBCore.Functions.Progressbar("jobs_creator_progressbar", text, time - 1000, false, false, {})
|
||||
end
|
||||
Reference in New Issue
Block a user