This wiki is archived and useful information is being migrated to the main bzflag.org website
bz_getPlayerIndexList
From BZFlagWiki
bz_APIIntList* bz_getPlayerIndexList ()
Returns a list of players indexes. Same as bz_getPlayerIndexList(bz_APIIntList), but a new bz_APIIntList is created and returned. This newly-created api int list must be deleted when it is no longer needed.
Returns:
A pointer to a newly-created bz_APIIntList that contains the player indexes