Garry's Mod Wiki

serverlist.IsCurrentServerFavorite

  boolean serverlist.IsCurrentServerFavorite()

Description

Returns true if the current server address is in their favorites.

Returns

1 boolean favorite
true if the current server is in their favorites

Example

Adds an Address to the Favorites and checks if it has been added.

Output: true