Garry's Mod Wiki

GetServers

  GetServers( string category, number id )

Description

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

Starts Searching for Servers in the given Category. Can be stopped with DoStopServers.
Internally uses serverlist.Query to search for Servers.

Arguments

1 string category
The Category to start searching the Servers in. Working Values: internet, favorite, history, lan
2 number id
Some ID. can be a random number?