draw_status_icon
Draws a specified status HUD icon.
Syntax
stock draw_status_icon(id, sprite[] = "", StatusIconFlags:status = StatusIcon_Hide, r = 0, g = 0, b = 0, bool:reliable = true) {
Usage
| id | Client index or 0 for all clients |
| sprite | Sprite name (valid names are listed in sprites/hud.txt) |
| status | Valid status values: |
| r | Red color amount (0 - 255) |
| g | Green color amount (0 - 255) |
| b | Blue color amount (0 - 255) |
| reliable | If true, the message will be sent via the reliable |
Return
0 if "id" is non-zero and the client isn't connected,
Defined in
msgstocks.inc
.
This documentation was automatically generated from source.