Es getplayercount
From EventScripts Community Encyclopedia
|
[edit] OverviewSyntax: 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_xgetplayercount [edit] DescriptionStores the count of players on the server into a variable. Optionally, a team can be specified and the count of that team will be returned. [edit] Parameters
[edit] Examples// Get the total number of players and store in the variable "allplayers" es_getplayercount allplayers // Get the total number of Terrorists and store in the variable "allterrorists" es_getplayercount allterrorists 2
[edit] Notes
[edit] See also |
