AddTargetsToMenu2 Function

Adds targets to an admin menu.

Each client is displayed as: name (userid) Each item contains the userid as a string for its info.

int AddTargetsToMenu2(Handle menu, int source_client, int flags)

Parameters

Handle menu

Menu Handle.

int source_client

Source client, or 0 to ignore immunity.

int flags

COMMAND_FILTER flags from commandfilters.inc.

Return Value

Number of clients added.