GetPlayerCount
Jump to navigation
Jump to search
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" );