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
playerCCSPlayerControllerThe player clicked on the custom hud
customLayoutCCSCustomHudLayoutEntity custom hud
buttonIdstringID of the button that was clicked