Gamemode.ScoreboardShow

From GMod Wiki

Revision as of 23:14, 8 October 2009 by JoTheShmo (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NameScoreboardShow
SyntaxGM:ScoreboardShow( )
DescriptionCalled when the scoreboard key( default Tab) has been pressed.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.ScoreboardShow]Gamemode.ScoreboardShow [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrint a text in the console when the scoreboard key has been pressed.
Used onNewerClient.png
Code
function GM:ScoreboardShow()
	Msg( "Hello World!\n" )
end
OutputPrints 'Hello World' in the console.


Additional Notes

See Also

Gamemode.ScoreboardHide

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox