powered by
Gets a player id from their name. Will only work for players that were active in a game that has already been added to the database
GetPlayerId(player_name)
character, players full name
int, player id number
# NOT RUN { SetDbPath(example = TRUE) AddGameEvents(2019020001) GetPlayerId("John Tavares") # }
Run the code above in your browser using DataLab