Difference between revisions of "IsPlayerListShowing"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> Returns true if the player list/scoreboard is showing, otherwise false. </onlyinclude> <syntaxhighlight lang="cpp"> bool IsPlayerListShowing() </syntaxhighlight> [...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
Returns true if the player list/scoreboard is showing, otherwise false.
 
Returns true if the player list/scoreboard is showing, otherwise false.
 
</onlyinclude>
 
</onlyinclude>
 +
 +
This is client only - it should be wrapped in "if ( getNet().isClient() )" or be in a client-only script.
 +
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
bool IsPlayerListShowing()
+
bool isPlayerListShowing()
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
[[Category:Scripting]]
 
[[Category:Scripting]]
 
[[Category:Global Functions]]
 
[[Category:Global Functions]]

Latest revision as of 22:52, 6 September 2012

Returns true if the player list/scoreboard is showing, otherwise false.


This is client only - it should be wrapped in "if ( getNet().isClient() )" or be in a client-only script.

bool isPlayerListShowing()