allPlayers – Talk

From Bohemia Interactive Community
Revision as of 13:48, 12 March 2024 by Lou Montana (talk | contribs) (Text replacement - "Killzone Kid" to "Killzone_Kid")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)