Skip to content

ax.actionBar

Action bar system for displaying circular progress indicators with timers.

Documented functions: 4  ·  Realm: client

Functions


ax.actionBar:GetRemainingTime()

Get remaining time for the active action bar

Realm: client

Returns

  • number: Remaining time in seconds (0 if no active bar)

Source: gamemode/framework/interface/cl_actionbar.lua:73


ax.actionBar:IsActive()

Check if an action bar is currently active

Realm: client

Returns

  • bool: Whether an action bar is active

Source: gamemode/framework/interface/cl_actionbar.lua:66


ax.actionBar:Start(label, duration, onComplete, onCancel)

Start displaying an action bar

Realm: client

Parameters

Name Type Description
label string Label text to display (default: "Processing...")
duration number Duration in seconds
onComplete function Optional callback when action completes
onCancel function Optional callback when action is cancelled

Source: gamemode/framework/interface/cl_actionbar.lua:32


ax.actionBar:Stop(cancelled, suppressNetwork)

Stop the current action bar

Realm: client

Parameters

Name Type Description
cancelled bool Whether the action was cancelled (triggers onCancel callback)

Source: gamemode/framework/interface/cl_actionbar.lua:47