in most gamemodes they usually use something along the lines of…


in their coding, but how do does it relate to this:

team.SetUp(1, “Example”, Color(0,0,0,0))

Generally, stuff that’s like that in all caps with a common prefix is what’s known as an enumeration. Enumerating is a way of assigning a lot of variable names to a number.

TEAM_SOMETHING is an enum, as teams are identified by a number.
So if you said TEAM_CITIZEN = 1 and said team.SetUp( TEAM_CITIZEN, “Citizens”, Color(0,0,0)) then it would work fine. It’s nice because you don’t have to remember the number corresponding to each team, and you can use the enum later when comparing ply:Team() (which returns a number).

Alright that completely answers my question.