Garry's Mod Wiki

Revision Difference

GM:ScoreboardShow#546624

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