Garry's Mod Wiki

serverlist.AddServerToFavorites

  serverlist.AddServerToFavorites( string address )

Description

Adds the given server address to their favorites.

Arguments

1 string address
Server Address. IP:Port like "127.0.0.1:27015"