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
player
CCSPlayerController- Command listener callback. If returning or higher, will prevent the command from executing.
commandInfo
CommandInfo- 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.