Garry's Mod Wiki

CanAddServerToFavorites

  boolean CanAddServerToFavorites()

Description

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

Used internally to check if the current server the player is on can be added to favorites or not. Does not check if the server is ALREADY in the favorites.

Returns

1 boolean
Can add to favorites