forked from Simnation/Main
ed
This commit is contained in:
parent
875c8448e1
commit
c81ae4bb6d
219 changed files with 8036 additions and 7 deletions
28
resources/[tools]/bl_bridge/client/progressbar/ox.lua
Normal file
28
resources/[tools]/bl_bridge/client/progressbar/ox.lua
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue