Garry's Mod Wiki

GM:ScoreboardShow

  boolean GM:ScoreboardShow()

Description

Called when player presses the scoreboard button (tab by default).

Returns

1 boolean
Return true to prevent default scoreboard from showing.

Example

hook.Add( "ScoreboardShow", "Scoreboard_Open", function() -- You would use something like DFrame or HUDPaint end )