Sign In Register

How can we help you today?

Start a new topic
Answered

Change Team ID

Hello everoye, so we can change a team name with:

var success = Spark.getTeams().getTeam(myTeamId).setTeamName("TeamName");

But what if we need to change the team ID? I couldn't find the way to do it, is it possible? 

I use the team ID to store the team [TAG] and the team name for the team name, so i would like to let players change their team tag, any help would be appreciated


Best Answer

Hi Alberto,


You can't change the teamID after the team has been created. If you need to do this you can drop the team and create a new one with the appropriate ID.


Regards,

Liam

1 Comment

Answer

Hi Alberto,


You can't change the teamID after the team has been created. If you need to do this you can drop the team and create a new one with the appropriate ID.


Regards,

Liam


1 person likes this
Login to post a comment