Es getmaxplayercount

From EventScripts Community Encyclopedia


Overview

Syntax: es_getmaxplayercount <variable>

Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Variation of this command that doesn't expand variables: es_xgetmaxplayercount

Description

Store in a variable, the result of the max or player that can enter to server! (Slots)

Parameters

  • variable - name of the variable you want to save the max player count.


Examples

// Create the Variable
es_xset testvar 0
es_getmaxplayercount testvar
// testvar => If your server is 16 slots, the result of testvar is 16 ! 


Notes

  • None for moment !


See also

blog comments powered by Disqus