Es.getplayercount
From EventScripts Community Encyclopedia
[edit] Method: getplayercountModule: es [edit] Method Overview[edit] Table of Contents
[edit] DescriptionReturns the number of players on the server, or in a team This is the Python equivalent of: http://www.eventscripts.com/pages/es_getplayercount [edit] Arguments
[edit] Examplesplayer = es.getplayercount() es.msg("#default", "There are " + str(player) + " players on the server!") Will display the number of players on the server player = es.getplayercount() cts = es.getplayercount(3) es.msg("#default", "There are currently " + str(players) + " players on, " + str(cts) + " are CTs") [edit] Notes
[edit] See Also |
|
