- Documentation
- Client functions
- guiProgressBarGetProgress
Function
guiProgressBarGetProgress
Returns a progress bar's progress (0-100).
Syntax
float guiProgressBarGetProgress(gui-progressbar theProgressbar)Arguments
theProgressbargui-progressbar- The bar.
Returns
Progress.
Example
if guiProgressBarGetProgress(bar) >= 100 then
guiNotify("Gotowe!", "success")
end