GetPlayerCount: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | |||
==Description== | ==Description== | ||
This function returns the number of players currently connected to the server. | This function returns the number of players currently connected to the server. |
Revision as of 21:12, 24 March 2006
Description
This function returns the number of players currently connected to the server.
Syntax
Integer getPlayerCount ()
Example
playercount = getPlayerCount (); serverChat ( "There are currently ", playercount, " players playing in the server" );