Added GetPlayerName function.