Es.getmaxplayercount

From EventScripts Community Encyclopedia
This article is a stub. Please help by adding to it.



Method: getmaxplayercount

Module: es
Class: (no class)
EventScripts version: 2.0

Method Overview

Table of Contents

Contents


Description

Store in a variable, the result of the max or player that can enter to server! (Slots) This is the Python equivalent of: http://www.eventscripts.com/pages/es_getmaxplayercount

Arguments

  • None


Examples

def load():
    max_players = es.getmaxplayercount()
    es.msg('There are ' + max_players + ' slots available on server!')

Notes

  • None

See Also

blog comments powered by Disqus