Garry's Mod Wiki

ConsoleAutoComplete

  table ConsoleAutoComplete( string text )

Description

Returns a table of console command names beginning with the given text.

Arguments

1 string text
Text that the console commands must begin with.

Returns

1 table
Table of console command names.