15.11.2018, 17:09
Fill a dummy array with all of the currently connected players' id and score, sort that array based on highest to lowest score (descending) = profit.
PHP код:
#include <md_sort>
SortDeepArray(dummyArray, dummyArrayScoreKey, .order = SORT_DESC);