08.02.2017, 21:03
Option 1: use a custom foreach iterator to store alive players and then use Iter_Count. Option 2: do a manual loop over all the players and increment a counter if the state of the player is not "wasted" or "spectating".