Category: Interface
Since engine version: 1.0 OC
DoScoreboardShow
Description
Sets the visibility counter of the scoreboard. This internal counter starts at 0. If the counter value is greater than 0, the scoreboard is visible. If it is less than 0, it is removed. If it is equal to 0, the scoreboard is visible when the player presses the corresponding keyboard key (usually Tab).
Syntax
bool DoScoreboardShow(int change, int for_player);
Parameters
- change:
- Change of visibility.
- for_player:
- [opt] If greater than 0, this is the player number + 1 of the player for which scoreboard visibility is to be changed.
Example
For an example, see SetScoreboardData.