This commit is contained in:
2026-07-07 21:08:52 +02:00
commit 4c20cfc716
2613 changed files with 318021 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
local moduleType = "skillcheck" -- 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 down here
Integrations[moduleType][moduleName].start = function(difficulty, speed)
local success = Dialogs.skillcheck(difficulty, speed)
return success
end
-- To cancel minigame before ends
Integrations[moduleType][moduleName].cancel = function()
Dialogs.cancelSkillcheck()
end

View File

@@ -0,0 +1,22 @@
local moduleType = "skillcheck" -- 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 down here
Integrations[moduleType][moduleName].start = function(difficulty, speed)
local success = lib.skillCheck("hard")
return success
end
-- To cancel minigame before ends
Integrations[moduleType][moduleName].cancel = function()
if not lib.skillCheckActive() then return end
lib.cancelSkillCheck()
end