Gamemode.ScoreboardShow
From GMod Wiki
Event Hook | |
Hook Name | ScoreboardShow |
Syntax | GM:ScoreboardShow( ) |
Description | Called when the scoreboard key( default Tab) has been pressed. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.ScoreboardShow]Gamemode.ScoreboardShow [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Print a text in the console when the scoreboard key has been pressed. |
---|---|
Used on | |
Code | function GM:ScoreboardShow() Msg( "Hello World!\n" ) end |
Output | Prints 'Hello World' in the console. |
Additional Notes
- Returning true will disable the sandbox scoreboard or any other that is drawn the same way