Garry's Mod Wiki

Revision Difference

GM:ScoreboardHide#546623

<function name="ScoreboardHide" parent="GM" type="hook"> <ishook>yes</ishook> <description>Called when player released the scoreboard button. ( TAB by default )</description> <description>Called when player released the scoreboard button (<key>TAB</key> by default).</description> <realm>Client</realm> </function> <example> <code>hook.Add( "ScoreboardHide", "EQScoreboarClose", function()⤶ -- Use something like Base:Remove or DFrame:Close⤶ end )</code>⤶ <code>⤶ hook.Add( "ScoreboardHide", "Scoreboard_Close", function()⤶ -- Use something like Base:Remove or DFrame:Close⤶ end )⤶ </code>⤶ </example>