Ported function GetPlayerListInGrid