ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:spectatorcount

SpectatorCount

int SpectatorCount()

Description

Returns the amount of spectators present on the server.

It works by looping through all players and counting for how many of them PlayerIsSpectator returns true.

functions/spectatorcount.txt · Last modified: 2017/03/17 22:58 by korshun