Progress Bars
Built-in, configurable progress bar.
DrawProgressBar(text, time, r, g, b)
DrawProgressBar(text, time, r, g, b)
Draws a progress bar with the specified parameters in the bottom right of the screen.
text* (string) - text to display adjacent to the progress bar
time* (number) - time to display progress bar (in ms)
r* (number) - red colour value of the progress bar (0 - 255)
g* (number) - green colour value of the progress bar (0 - 255)
b* (number) - blue colour value of the progress bar (0 - 255)
* = required arguments
Example:
HideProgressBar()
HideProgressBar()
Hides the currently displayed progress bar. Takes no parameters.
Reference: utils/cl_utils.lua
Last updated