====== SpectatorCount ====== {{tag>player needs_examples}} ''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 [[zdoom>PlayerIsSpectator]] returns true.