cs_set_hud_icon
Displays a sprite to the right side of the round timer.
Syntax
stock cs_set_hud_icon(id, active = 0, sprite[] = "", alpha = 100, flashrate = 0, flashdelay = 0, bool:reliable = true) {
Usage
| id | Client index or 0 for all clients |
| active | If set to 0, it will remove the scenario icon and |
| sprite | Sprite name (valid names are listed in sprites.hud.txt) |
| alpha | Sprite alpha (100-255) |
| flashrate | If nonzero, the sprite will flash from the given alpha |
| flashdelay | Delay (in seconds) between each flash |
| reliable | If true, the message will be sent via the reliable |
Return
if "id" is non-zero and the client isn't connected,
Notes
A list of all icons and screenshots of them can be found here:
Defined in
msgstocks.inc
at line 568
.
This documentation was automatically generated from source.