Auto-translated
serovoy, the fastest way is probably to open the map with an archiver and look at the file containing the hero descriptions.
upd: although, wait a minute, there's GetPlayerHeroes(player_id), which returns an array of hero names by player ID.
upd: although, wait a minute, there's GetPlayerHeroes(player_id), which returns an array of hero names by player ID.