allPlayers – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

Is there a significant difference between this and BIS_fnc_listPlayers? --Sixtyfour (talk) 19:23, 3 October 2015 (CEST)

completely different ways of collecting players data. allPlayers constructs array from actual client PCs connected to the server, bis_fnc_listPlayers goes through all existing groups collecting allUnits, then through all dead units then combines it and selects only player units. Killzone_Kid (talk) 21:42, 3 October 2015 (CEST)
Another thing of course is that if player is in group that belongs to sideLogic, as allUnits suggests, it will not show in bis_fnc_listPlayers Killzone_Kid (talk) 23:10, 3 October 2015 (CEST)