Es.getlivingplayercount
From EventScripts Community Encyclopedia
[edit] Method: getlivingplayercountModule: es [edit] Method Overview[edit] Table of Contents
[edit] DescriptionRetrieve the number of living players. This is the Python equivalent of: http://www.eventscripts.com/pages/es_getlivingplayercount [edit] Arguments
Optional: Team Number: optional parameter to specify which team you want.
[edit] Examples
living_players = es.getlivingplayercount() es.msg("Number of living players:", living_players)
living_ts = es.getlivingplayercount(2) es.msg("Number of living terrorists:", living_ts) [edit] Notes
[edit] See Also |
|
