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

0 if "id" is non-zero and the client isn't connected,

Defined in msgstocks.inc . This documentation was automatically generated from source.