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
if "id" is non-zero and the client isn't connected,
Notes
This stock is available only in the following games:
A list of all icons and screenshots of them can be found here:
Defined in
msgstocks.inc
at line 164
.
This documentation was automatically generated from source.