powered by
Get the name of a player with a given ID
getPlayerName(player_id)
Integer giving the ID of a player. You can find IDs of all current players using getPlayerIds().
getPlayerIds()
A character string with the name of the identified player.
getPlayerIds(), getPlayerId()
getPlayerId()
# NOT RUN { mc_connect() getPlayerIds() getPlayerName(322) # } # NOT RUN { # }
Run the code above in your browser using DataLab