Skip to main content
The Progress component displays progress bars for timed actions like crafting, lockpicking, eating, and more. It supports animations, props, control disabling, and cancellation.

Overview

Access via Progress (client-side only).

Visual Feedback

On-screen progress bar with label

Animations & Props

Character animations and held props

Control Disabling

Disable movement, combat, vehicle controls

Cancellable

Player can cancel with keybind (X)
Client-Side Only: Progress bars run on the client. Always validate completion server-side.

Basic Usage

Progress

Simple progress bar with callback. Parameters: Example:

Action Configuration

Required Fields

Optional Fields


Control Disables

Available Disable Options

Example:

Animations

Animation Dictionary

Common Flags:
  • 1 - Normal
  • 16 - Cancellable (upper body only)
  • 32 - Allow player control
  • 48 - Upper body only, cancellable
  • 49 - Upper body only, loop

Scenario Task

Emote System

Animation Examples:

Props

Single Prop

Two Props

Common Bone Indices:
  • 60309 - Right hand (default)
  • 18905 - Left hand
  • 28422 - Left foot
  • 52301 - Right foot
  • 24818 - Head
  • 11816 - Pelvis
Prop Examples:

Advanced Methods

ProgressWithStartEvent

Execute code when progress starts. Parameters: Example:

ProgressWithTickEvent

Execute code repeatedly during progress. Parameters: Example:

ProgressWithStartAndTick

Combine start and tick events. Parameters: Example:

Utility Methods

CurrentAction

Get current active action name. Returns: Example:

Cancel

Cancel current progress (if allowed). Parameters: Example:

Fail

Immediately fail the current progress. Parameters: Example:

Finish

Immediately complete the current progress. Parameters: Example:

Modifier

Apply speed modifier to progress bars. Parameters: Returns: Example:
Notes:
  • Only one modifier active at a time
  • Actions with ignoreModifier = true skip this
  • Modifier persists across multiple actions until duration expires

Complete Examples

Crafting System

Lockpicking

Medical Revive


Best Practices

Server Validation

Distance Checks


Next Steps

Notifications

Toast notification system

Menus

Input forms and menu systems

HUD Exports

Main HUD controls

Inventory

Item system integration
Keybind: Players can cancel progress bars (if canCancel = true) by pressing X (default cancel_action keybind).
Dead Actions: By default, progress bars fail if the player dies. Set useWhileDead = true only for specific cases like medical revival.