Progress bar

Progress bar. Client-only progress bars.

Client-only progress bars.

  • Client — openprogressbar / progressActive / cancelProgress
  • Server — not implemented
local finished = bridge.progressbar.openprogressbar({
    duration = 5000,
    label = 'Harvesting honey...',
    canCancel = true,
    disable = { move = true, combat = true },
})

if finished then
    TriggerServerEvent('myresource:finishHarvest')
end