Gamemode.HUDDrawScoreBoard

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameHUDDrawScoreBoard
SyntaxGM:HUDDrawScoreBoard( )
DescriptionMain drawing event for the scoreboard
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.HUDDrawScoreBoard]Gamemode.HUDDrawScoreBoard [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionDisallows the Scoreboard to be opened at all
Used onNewerClient.png
Code
 
 
function GM:HUDDrawScoreBoard()
return false; // Return true to make it allowed.
end
 
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox