Table of Contents

Class CommandExtensions

Namespace
CounterStrikeSharp.API.Modules.Commands
Assembly
CounterStrikeSharp.API.dll
public static class CommandExtensions
Inheritance
CommandExtensions

Methods

GetArgTargetResult(CommandInfo, int)

Treats the argument at the specified index as a target string (@all, @me etc.) and returns the result.

public static TargetResult GetArgTargetResult(this CommandInfo commandInfo, int index)

Parameters

commandInfo CommandInfo
index int

Returns

TargetResult