GM/ScoreboardShow

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Added return value. Not sure why it wasn't there in the first place.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Hook
 
{{Hook
 
|Description=Called when player presses the scoreboard button. ( TAB by default )
 
|Description=Called when player presses the scoreboard button. ( TAB by default )
 +
<!--NOTE: DO NOT ADD A RETURN VALUE TO THIS FUNCTION! 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-->
 
|Realm=Client
 
|Realm=Client
 
|Predicted=No
 
|Predicted=No
 
|Name=ScoreboardShow
 
|Name=ScoreboardShow
 
|Parent=GM
 
|Parent=GM
}}
 
{{Ret
 
|type=boolean
 
|desc=Return true to suppress the default scoreboard from showing
 
 
}}
 
}}

Latest revision as of 21:38, 4 September 2015

 GM:ScoreboardShow( )

Description

Called when player presses the scoreboard button. ( TAB by default )

Personal tools
Navigation