Sign In Register

How can we help you today?

Start a new topic

Get PlayerIds of Team Members

Hello,


I'm trying to get the GameSparks playerId for the members in a team.  I tried using `Spark.getTeams().getTeam(groupTeamId).getMemberIds()`, but contrary to the documentation this seems to be giving me the index of their position in the team, not the playerId.


The documentation states: "Gets an array containing the playerIds of the members of this team."


How can I access the actual playerId.  I've attached a photo of how the team looks in the data explorer.


Thanks


Login to post a comment