Garry's Mod Wiki

Revision Difference

GM:ScoreboardShow#526481

<function name="ScoreboardShow" parent="GM" type="hook"> <ishook>yes</ishook> <description> Called when player presses the scoreboard button. ( TAB by default ) <note>DO NOT ADD A RETURN VALUE TO THIS FUNCTION! <br/> IT DOES NOT HAVE A RETURN VALUE.⤶ RETURNING ANYTHING TO HIDE THE DEFAULT SCOREBOARD IS A SIDE EFFECT OF HOW THE HOOK LIBRARY WORKS.⤶ THAT EFFECT WILL NOT BE CONSISTENT BETWEEN GAMEMODES/ADDON COMBINATIONS</note>⤶ </description> <realm>Client</realm> <predicted>No</predicted> </function>