Usage
exports['pogressBar']:drawBar(time_in_ms, text)
exports['pogressBar']:drawBar(3000, 'Hello world!')
OR (Client event)
TriggerEvent('pogressBar:drawBar', time_in_ms, text)
TriggerEvent('pogressBar:drawBar', 3000, 'Hello world!')
Callbacks
exports['pogressBar']:drawBar(3000, 'Hello world!', function()
print('callback Test')
end)
Without callbacks
TriggerClientEvent('pogressBar:drawBar', source, 3000, 'Hello world!')
Citizen.Wait(3000)
print('callback Test')
https://forum.fivem.net/t/release-pogress-bar-progress-bar-standalone-smooth-animation/838951/1