Use two different player spawners for Teams 1 and 2, and in their details panel change class settings to either 1 or 2