Page 1 of 1

Spring.GetPlayerList() How to exclude spectators?

Posted: 26 May 2016, 11:29
by Forboding Angel
This has been bugging me for some time... How do you exclude specs? For a little bit I thought that's what the active bool did, but then I realized that is for dead/alive/disconnected/etc.

Re: Spring.GetPlayerList() How to exclude spectators?

Posted: 26 May 2016, 11:58
by Silentwings
Use Spring.GetPlayerInfo(playerID) to find out players details, including if a given playerID is currently a spectator.