Table of Contents

Delegate Listeners.OnCustomHudClicked

Namespace
CounterStrikeSharp.API.Core
Assembly
CounterStrikeSharp.API.dll

Called when the player clicks on the custom hud.

[ListenerName("OnCustomHudClicked")]
public delegate void Listeners.OnCustomHudClicked(CCSPlayerController player, CCSCustomHudLayout customLayout, string buttonId)

Parameters

player CCSPlayerController

The player clicked on the custom hud

customLayout CCSCustomHudLayout

Entity custom hud

buttonId string

ID of the button that was clicked