Gamemode.HUDDrawScoreBoard
From GMod Wiki
| Event Hook | |
| Hook Name | HUDDrawScoreBoard |
| Syntax | GM:HUDDrawScoreBoard( ) |
| Description | Main drawing event for the scoreboard |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.HUDDrawScoreBoard]Gamemode.HUDDrawScoreBoard [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Disallows the Scoreboard to be opened at all |
|---|---|
| Used on | |
| Code | function GM:HUDDrawScoreBoard() return false; // Return true to make it allowed. end |
| Output | N/A |
Additional Notes
- returning false will prevent it from opening