From Bohemia Interactive Community
Revision as of 22:10, 3 October 2015 by killzone_kid (talk | contribs)
(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)