DoScoreboardShow

Category: Interface
Since engine version: 4.9.6.0 CR

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 iChange, int iForPlr);

Parameters

iChange:
Change of visibility.
iForPlr:
[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.
See also: ScoreboardCol, SetScoreboardData, SortScoreboard
Sven2, Februar 2006