Usage

Syntax: allplayerscount
Returns an integer value.

Explanation

allplayerscount returns the number of players online (essentially, the same as allplayers.size()).

allplayerscount is read-only.

Example

//#CLIENTSIDE
function onCreated(){
  echo(allplayerscount @ " players online");
}

... echoes something like "3 players online" (if 3 players are online).

Categories

CategoryBuiltInVariable

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki