Difference between revisions of "IsPlayerListShowing"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) (Created page with "<onlyinclude> Returns true if the player list/scoreboard is showing, otherwise false. </onlyinclude> <syntaxhighlight lang="cpp"> bool IsPlayerListShowing() </syntaxhighlight> [...") |
Shadlington (Talk | contribs) |
||
| (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 | + | bool isPlayerListShowing() |
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Global Functions]] | [[Category:Global Functions]] | ||
Latest revision as of 20: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()