Progressbar

Adding the progressbar system to your framework.

Usage

exports['ZSX_UI']:ProgressBar('Custom progressbar...', 
    3000, {
        freezeEntity = true,
        onComplete = function()
            --some code
        end,
        disableControls = "all",
    }
)
TriggerEvent('ZSX_UI:ProgressBar', 'Custom progressbar...', 
    3000, {
        freezeEntity = true,
        onComplete = function()
            --some code
        end,
        disableControls = "all",
    }
)

Structure

Export

exports['ZSX_UI']:ProgressBar(text, 
    duration, {
        freezeEntity = bool,
        onComplete = function,
        disableControls = string/array,
    }
)

Event

TriggerEvent('ZSX_UI:ProgressBar', text, 
    duration, {
        freezeEntity = bool,
        onComplete = function,
        disableControls = string/array,
    }
)

Last updated