Progressbar
Progressbar Script used in mxo Scripts

HTML, CSS can be edited.
Usage:
exports['progressbar']:Progress({
name = "random_task",
duration = 5000,
label = "Doing something",
useWhileDead = false,
canCancel = true,
controlDisables = {
disableMovement = false,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
animation = {
animDict = "missheistdockssetup1clipboard@base",
anim = "pill",
flags = 49,
},
prop = {
model = 'prop_notepad_01',
bone = 18905,
coords = vec3(0.1, 0.02, 0.05),
rotation = vec3(10.0, 0.0, 0.0),
},
propTwo = {
model = 'prop_pencil_01',
bone = 58866,
coords = vec3(0.11, -0.02, 0.001),
rotation = vec3(-120.0, 0.0, 0.0),
}
}, function(cancelled)
if not cancelled then
-- finished
else
-- cancelled
end
end)
