> > > >

get_players | amxmodx | AMX X Documentation

Includes

    1. Stocks
    1. Natives
    2. Forwards
    1. Natives
    2. Stocks
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    2. Forwards
    1. Natives
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    2. Forwards
    1. Natives
    1. Natives
    2. Forwards
    1. Natives
    2. Forwards
    1. Stocks
    1. Natives
    1. Natives
    2. Stocks
    1. Stocks
    1. Stocks
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    1. Stocks
    1. Natives
    1. Natives
    1. Natives
    2. Forwards
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    2. Forwards
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    1. Stocks
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Stocks
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    1. Natives
    2. Stocks
    1. Stocks

get_players

Syntax
									native get_players(players[MAX_PLAYERS], &num, const flags[] = "", const team[] = "");
								
Variable Description
players
Array to store indexes to
num
Variable to store number of indexes to
flags
Optional list of filtering flags:
  "a" - do not include dead clients
  "b" - do not include alive clients
  "c" - do not include bots
  "d" - do not include human clients
  "e" - match with team
  "f" - match with part of name
  "g" - match case insensitive
  "h" - do not include HLTV proxies
  "i" - include connecting clients
team
String to match against if the "e" or "f" flag is specified

Description
Stores a filtered list of client indexes to an array.

Note
Please consider using get_players_ex() instead which allows you to
use named constants for flags instead of letters.

Note
Example retrieving all alive CTs: get_players(players, num "ae", "CT")

Return
This function has no return value.
> > > >