Source2Toolkit
Core api

IToolkitCustomHud

IToolkitCustomHud

Methods

HookCustomHudClick(owner, pLayout, handler)

Registers a click callback for one layout entity.

Parameters
  • owner PluginId — Plugin ID that owns the callback
  • pLayout CCSCustomHudLayout* — Layout to listen on
  • handler CustomHudClickHandler — Callback function

UnhookCustomHudClick(pLayout)

Drops every callback registered for a layout.

Parameters
  • pLayout CCSCustomHudLayout* — Layout to stop listening on

On this page