Quick Start
Functions
progressBar
progressBar
Show a progress bar to the player.Parameters:
data(table) - Progress bar configuration object (see Options)
success(boolean) -trueif completed,falseif cancelled/failed
progressActive
progressActive
Check if a progress bar is currently active.Returns:
isActive(boolean) -trueif progress is active,falseotherwise
cancelProgress
cancelProgress
Cancel the currently active progress bar.
Configuration
Options
Progress bar label text
Progress description text
Overridden by steps if multi-step feature is used
Duration in milliseconds
FontAwesome icon class
Icon color (hex or CSS color name)
Icon animation typeAvailable options:
'spin', 'spinPulse', 'spinReverse', 'pulse', 'beat', 'fade', 'beatFade', 'bounce', 'shake'Progress bar color (hex or CSS color name)
Whether progress can be cancelled with X key
Allow progress while player is dead
Allow progress while player is ragdolled
Allow progress while player is cuffed
Allow progress while player is falling
Allow progress while player is swimming
Animation configuration (see Animations)
Steps
Each step object in thesteps array supports:
Description text for this step
Animations
Animation dictionary
Either
dict or scenario is required if using animationsAnimation clip name
Animation flags
Blend in speed
Blend out speed
Animation duration (-1 for loop)
Playback rate
Lock X axis
Lock Y axis
Lock Z axis
Scenario name (alternative to dict/clip)
Either
dict or scenario is required if using animationsPlay enter animation for scenarios
Props
Prop model hash
Bone index to attach prop to
Position offset as table:
{x, y, z}Rotation offset as table:
{x, y, z}Rotation order
Disable
Disable player movement
Disable sprinting only
Disable vehicle controls
Disable combat actions
Disable mouse look
Preview

