API GetAutoCompleteResults

Returns possible player names matching a given prefix string and specified requirements. results = GetAutoCompleteResults(text, numResults, cursorPosition, allowFullMatch, includeBitField, excludeBitField)

Arguments

 * text: string - First characters of the possible names to be autocompleted
 * numResults : number - Number of results desired.
 * cursorPosition : number - Position of the cursor within the editbox (i.e. how much of the text string should be matching).
 * allowFullMatch : boolean
 * includeBitField : number - Bit mask of filters that the results must match at least one of.
 * excludeBitField : number - Bit mask of filters that the results must not match any of.

Filter values
The  and   bit mask parameters can be composed from the following components:

Returns

 * results : structure[] - Auto-completed names of players that satisfy the requirements.