Progress
lib.progressBar
Displays a running progress bar.
lib.progressBar(data)duration:
numberlabel:
stringuseWhileDead?:
booleanallowRagdoll?:
booleanallowCuffed?:
booleanallowFalling?:
booleancanCancel?:
booleananim?:
table(object)dict?:
stringMust specify either scenario or dict
clip:
stringflag?:
numberDefault:
49
blendIn?:
floatDefault:
3.0
blendOut?:
floatDefault:
1.0
duration?:
numberDefault:-1playbackRate?:
numberDefault:0lockX?:
booleanlockY?:
booleanlockZ?:
booleanscenario?:
stringMust specify either scenario or dict
playEnter?:
booleanDefault:
true
prop?:
table(objectorarray)[ If you want to define multiple props, you can pass them as individual tables (array of objects) ]
model:
hashbone?:
numberDefault:
60309
pos:
tablex:
numbery:
numberz:
number
rot:
table(object)x:
numbery:
numberz:
number
disable?:
table(object)move?:
booleancar?:
booleancombat?:
booleanmouse?:
boolean
Usage Example

lib.progressCircle
Similar to lib.progressBar except it displays a circle and you can define a position.
duration:
numberlabel?:
stringposition?:
'middle'or'bottom'Default:
'middle'
useWhileDead?:
booleanallowRagdoll?:
booleanallowCuffed?:
booleanallowFalling?:
booleancanCancel?:
booleananim?:
table(object)dict?:
stringMust specify either scenario or dict
clip:
stringflag?:
numberDefault:
49
blendIn?:
floatDefault:
3.0
blendOut?:
floatDefault:
1.0
duration?:
numberDefault:-1playbackRate?:
numberDefault:0lockX?:
booleanlockY?:
booleanlockZ?:
booleanscenario?:
stringMust specify either scenario or dict
playEnter?:
booleanDefault:
true
prop?:
table(objectorarray)[ If you want to define multiple props, you can pass them as individual tables (array of objects) ]
model:
hashbone?:
numberDefault:
60309
pos:
tablex:
numbery:
numberz:
number
rot:
table(object)x:
numbery:
numberz:
number
disable?:
table(object)move?:
booleancar?:
booleancombat?:
booleanmouse?:
boolean
Usage Example

lib.progressActive
Returns true if a progress bar is currently active.
lib.cancelProgress
If there is a progress bar active and the progress bar can be cancelled then it cancels it.
Last updated