- Documentation
- Server functions
- getTeamName
Function
getTeamName
Returns the team name.
Syntax
string getTeamName(team team)Arguments
teamteam- The team.
Returns
The name or false.
Example
for _, team in ipairs(getElementsByType("team")) do
outputChatBox(getTeamName(team) .. ": " .. countPlayersInTeam(team))
end