1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-08-04 04:28:47 +02:00
parent 875c8448e1
commit c81ae4bb6d
219 changed files with 8036 additions and 7 deletions

View file

@ -0,0 +1,28 @@
local Progressbar = {}
function Progressbar.showProgress(data)
return exports.ox_lib:progressBar({
duration = data.duration,
label = data.label,
useWhileDead = data.useWhileDead,
canCancel = data.canCancel,
disable = data.disableControl,
anim = data.animation,
prop = {
model = data.prop?.model,
bone = data.prop?.bone,
pos = data.prop?.pos,
rot = data.prop?.rot
},
})
end
function Progressbar.cancelProgress()
exports.ox_lib:cancelProgress()
end
function Progressbar.isProgressActive()
return exports.ox_lib:progressActive()
end
return Progressbar