Garry's Mod Wiki

Revision Difference

GM:ScoreboardShow#546635

<function name="ScoreboardShow" parent="GM" type="hook"> <ishook>yes</ishook> <description>Called when player presses the scoreboard button (<key>TAB</key> by default).</description> <realm>Client</realm> <rets>⤶ <ret name="" type="boolean">Return true to prevent default scoreboard from showing.</ret>⤶ </rets>⤶ </function> <example> <code> hook.Add( "ScoreboardShow", "Scoreboard_Open", function() -- You would use something like DFrame or HUDPaint end ) </code> </example>⤶ </example>