ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. guiProgressBarGetProgress

Function

guiProgressBarGetProgress

ClientInterface (GUI)Identical to MTA:SA

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