Table of Contents

HUD functions

For advanced HUD programming, try HUD Library.

ClearHudMessage

void ClearHudMessage(int id) void ClearHudMessageBold(int id)

Remove HudMessage with the given id.

This is a very useful shorthand for HudMessage(s:“”; HUDMSG_PLAIN, id, 0, 0.0, 0.0, 0.0, 0.0);. No need to remember how many zeros to insert.

StatusBarVisible

bool StatusBarVisible()

Returns true if the status bar is currently visible. Shorthand for GetCVar(“screenblocks”) ⇐ 10.