- Documentation
- Teams
Category
Teams
All Lua functions and events in the Teams category, on the server and the client.
Server functions 8
createCreates a team. The name must be unique. Teams group players, and their colour shows on the player list and above heads.Team getReturns the team colour.Team Color getChecks whether team members can hurt each other (yes by default).Team Friendly Fire getFinds a team by its exact name.Team From Name getReturns the team name.Team Name setChanges the team colour. Values outside 0-255 are clamped.Team Color setTurns damage between members of the same team on or off.Team Friendly Fire setRenames a team. The new name cannot be empty or taken.Team Name