Having some trouble in regards to getting all teams, then placing them in a DListView and showing [TEAM NAME] [Number of Players].
Doing some searching around I found the following thread; http://www.facepunch.com/threads/771437
While it did get me a step further, I do not wish to list the 3 automatically assigned teams (connecting, unassigned, spectator).
local list = vgui.Create(“DListView”, join_pnl)
list:SetSize(join_pnl:GetWide() - 10, join_pnl:GetTall() - 75)
for k,v in pairs(team.GetAllTeams()) do
“N/A” is merely a placeholder due to my inexperience and dumbfounding on getting the corresponding teams number of players.
Any help is appreciated.