stock cs_draw_progress_bar(id, duration, startpercent = 0, bool:reliable = true)
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 channel, otherwise it will use the unreliable one |
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.
If the "startpercent" argument is greater than 0, the bar will be filled from that amount of percentage instead of starting from 0%.
0 if "id" is non-zero and the client isn't connected, 1 otherwise
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.