- Documentation
- Server functions
- setTeamColor
Function
setTeamColor
Changes the team colour. Values outside 0-255 are clamped.
Syntax
bool setTeamColor(team team, int r, int g, int b)Arguments
teamteam- The team.
rint- Red.
gint- Green.
bint- Blue.
Returns
true on success.
Example
setTeamColor(getTeamFromName("Policja"), 0, 60, 255)