Garry's Mod Wiki

search.GetResults

  table search.GetResults( string query, string types = nil, number maxResults = 1024 )

Description

Retrieves search results.

Arguments

1 string query
Search query
2 string types = nil
If set, only searches given provider type(s), instead of everything. For example "tool" will only search tools in Sandbox. Can be a table for multiple types.
3 number maxResults = 1024
How many results to stop at

Returns

1 table
A table of results