- Documentation
- Server functions
- setTeamName
Function
setTeamName
Renames a team. The new name cannot be empty or taken.
Syntax
bool setTeamName(team team, string name)Arguments
teamteam- The team.
namestring- The new name.
Returns
true on success.
Example
setTeamName(getTeamFromName("Grove"), "Grove Street Families")