cmd_targetex

Processes a generic target pattern and tries to match it to a client or a group of clients based on filtering flags and the usage of special arguments.

Syntax

stock cmd_targetex(id, const arg[], players[MAX_PLAYERS], name[], len, TargetexFlags:flags = TARGETEX_OBEY_IMM_SINGLE) {

Usage

id Client index of admin performing the action
arg Target pattern
name Buffer to store the client name or argument translation
len Maximum buffer length
flags Optional filtering flags (enum TargetexFlags); valid flags are:

Return

Number of clients matched

Defined in targetex.inc . This documentation was automatically generated from source.