Delegate CommandInfo.CommandListenerCallback
- Namespace
 - CounterStrikeSharp.API.Modules.Commands
 
- Assembly
 - CounterStrikeSharp.API.dll
 
Command listener callback.
public delegate HookResult CommandInfo.CommandListenerCallback(CCSPlayerController? player, CommandInfo commandInfo)
  Parameters
playerCCSPlayerController- Command listener callback. If returning or higher, will prevent the command from executing.
 commandInfoCommandInfo- Command listener callback. If returning or higher, will prevent the command from executing.
 
Returns
- HookResult
 - Command listener callback. If returning or higher, will prevent the command from executing.