Garry's Mod Wiki

SaveHideNews

  SaveHideNews( boolean hide )

Description

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

Hides the News List when set to true.

If you call this don't forget to call LoadNewsList to update the News List.

Arguments

1 boolean hide
true if it should hide the News.

Example

Manually Hides the News List.

cookie.Set( "hide_newslist", "true" )