Garry's Mod Wiki

concommand.AutoComplete

  table concommand.AutoComplete( string command, string arguments )

Description

This is used internally - although you're able to use it you probably shouldn't.

Used by the engine to call the autocomplete function for a console command, and retrieve returned options.

Arguments

1 string command
Name of command
2 string arguments
Arguments given to the command

Returns

1 table
Possibilities for auto-completion. This is the return value of the auto-complete callback.