local list = vgui.Create ("DButton", frame)
list:SetParent(Admin)
list:SetText( "list" )
list:SetTextColor( Color(255, 255, 255) )
list:SetPos( 553, 28 )
list:SetSize( 120, 30 )
list.Paint = function()
surface.SetDrawColor(37, 37, 37)
surface.DrawRect( 0, 0, list:GetWide(), list:GetTall() )
surface.SetDrawColor( 54, 224, 226 )
surface.DrawOutlinedRect( 0, 0, list:GetWide(), list:GetTall() )
end
list.DoClick = function()
surface.PlaySound("ambient/levels/canals/drip4.wav")
end
local View = vgui.Create("DListView" , frame)
View:Dock( FILL )
View:SetMultiSelect(false)
View:AddColumn("Joueur")
View:AddColumn("SteamID")
for k , v in pairs(player.GetAll()) do
View:AddLine( v:Nick() , v:SteamID() )
end
I would like that when I make a right click I put an ulx command
Can you actually try to do something yourself instead of just getting people to do everything for you? If you can't be bothered to do it yourself then make a job on gmodstore.
also stop making new threads for every time you need more "help" on the same thing
Sorry, you need to Log In to post a reply to this thread.