Please Help getting players

Ok im making a script that i would like to click a button in derma like


function MainFrame()
        MainFrame = vgui.Create("DFrame")
 
        MainFrame:SetPos(25,25)
    	MainFrame:SetSize(300,400)
        MainFrame:SetTitle("AdminPanel")
        MainFrame:MakePopup()

		GodModeButton = vgui.Create( "DButton", MainFrame )
		GodModeButton:SetPos( 5, 25 ) 
		GodModeButton:SetSize( 100, 30 ) 
		GodModeButton:SetText( "GodMode On/Off")
		GodModeButton.DoClick = function()
			//Here i want it to come up with a list below the button with all of the players
                       //And then whatever player i click it will store it as selected player 
			
			RunConsoleCommand("god",* SelectedPlayer* )
		end
		 
			
	

	end
		concommand.Add("+1Main", MainFrame)

function Close()
	MainFrame:Remove()
end

concommand.Add("-1Main",Close)	


And as commented and underlined and italicized can anybody help me with this?

**[Player.GetAll

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Player.GetAll)**

**[G.DermaMenu

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=G.DermaMenu)**

Your question was answered in your first thread http://www.facepunch.com/threads/1151076

I just gave you the answer to this? Why did you make another thread?

I made this thread like 1 minute after the previous one because the first was the wrong section but it was moved so I’m sorry for the misunderstanding and you have helped me thank you