cs_draw_progress_bar
Draws a HUD progress bar which is filled from 0% to 100% for the given amount of seconds. Once the bar is fully filled it will be removed from the screen automatically.
Syntax
stock cs_draw_progress_bar(id, duration, startpercent = 0, bool:reliable = true) {
Usage
| id | Client index or 0 for all clients |
| duration | How long (in seconds) until the bar is fully filled |
| startpercent | Bar starting percentage (0-100) |
| reliable | If true, the message will be sent via the reliable |
Return
if "id" is non-zero and the client isn't connected,
Notes
If the "startpercent" argument is greater than 0, the bar will be
Defined in
msgstocks.inc
at line 482
.
This documentation was automatically generated from source.