HUD_ELEM

Common flags used by all custom HUD elements.

Values

Name Value Description
HUD_ELEM_ABSOLUTE_X 1 X position in pixels.
HUD_ELEM_ABSOLUTE_Y 2 Y position in pixels.
HUD_ELEM_SCR_CENTER_X 4 X position relative to the center of the screen.
HUD_ELEM_SCR_CENTER_Y 8 Y position relative to the center of the screen.
HUD_ELEM_NO_BORDER 16 Ignore the client-side HUD border (hud_bordersize).
HUD_ELEM_HIDDEN 32 Create a hidden element.
HUD_ELEM_EFFECT_ONCE 64 Play the effect only once.
HUD_ELEM_DEFAULT_ALPHA 128 Use the default client-side HUD alpha (hud_defaultalpha).
HUD_ELEM_DYNAMIC_ALPHA 256 Use the default client-side HUD alpha and flash the element when updated.