Features
Progress bar
uniqers-uipackPage 7 of 200 topicsUpdated recently
6 styles (Bar, Ring, Capsule, Segments, Uniqers, Gauge) in F7 → More UIs.
Wait for the result
lua
if exports['uniqers-uipack']:Progress({ duration = 5000, label = 'Repairing', canCancel = true, disable = { move = true, car = true, combat = true, mouse = false }, anim = { dict = 'mini@repair', clip = 'fixing_a_ped', flag = 49 }, prop = { { model = 'prop_tool_wrench', bone = 57005, pos = vec3(0.1, 0.0, 0.0), rot = vec3(0.0, 0.0, 0.0) } },}) then -- ran to the endelse -- cancelled or interruptedendOr with a callback (the qb way)
lua
exports['uniqers-uipack']:Progress({ name = 'repair', duration = 5000, label = 'Repairing', useWhileDead = false, canCancel = true, controlDisables = { disableMovement = true, disableCarMovement = true, disableMouse = false, disableCombat = true }, animation = { animDict = 'mini@repair', anim = 'fixing_a_ped', flags = 49 }, prop = { model = 'prop_tool_wrench' }, propTwo = { model = '...' },}, function(cancelled) if not cancelled then ... endend)Both shapes — qb's and ox_lib's — are read, so code written for either works.
Options
Other exports
lua
exports['uniqers-uipack']:ProgressActive() -- is one runningexports['uniqers-uipack']:CancelProgress() -- stop itexports['uniqers-uipack']:isDoingSomething() -- qb name for ProgressActiveThe player's inv_busy state is set while a bar runs, like qb's progressbar.
From other scripts
QBCore.Functions.Progressbar, ox_lib progressBar / progressCircle and ESX.Progressbar all run the UIPack bar through their bridges.
Still stuck? Send us your server log on Discord and we will sort it out with you.
Ask on Discord