Table of Contents

Enum ProcessTargetResultFlag

Namespace
CounterStrikeSharp.API.Modules.Commands.Targeting
Assembly
CounterStrikeSharp.API.dll

Represents the result of a target processing operation.

public enum ProcessTargetResultFlag
Extension Methods

Fields

TargetAmbiguous = 7

The target string was ambiguous and matched more than one player when a single target was expected.

TargetEmptyFilter = 5

A multi-target filter (like @all) resulted in no players after filtering.

TargetFound = 0

Target(s) were successfully found and filtered.

TargetImmune = 4

The target is immune and cannot be targeted by the command issuer.

TargetNone = 1

No target was found matching the initial pattern.

TargetNotAlive = 2

A single target was found, but they were not alive as required by the filter. Or a multi-target filter resulted in no alive players.

TargetNotDead = 3

A single target was found, but they were not dead as required by the filter. Or a multi-target filter resulted in no dead players.

TargetNotHuman = 6

The target was found, but it was not a human player as required by the filter.