What would i use to get a player list extremely similar to what ULX did
[img]http://img217.imageshack.us/img217/7706/ulx.jpg[/img]
The area that has "Player List Here". What would i use to generate a white panel with the player list inside (player name selectable, EX: You click the name once and it all turns highlighted).
Thanks
[EDITLINE]10:34 A.M.9[/EDITLINE]
Oh yeah and sorry for the crappy picture, just reinstalled Win 7 and haven't installed Photoshop yet
[url]http://wiki.garrysmod.com/?title=DComboBox[/url]
or
[url]http://wiki.garrysmod.com/?title=DListView[/url]
ok this is my hack (DComboBox):
[img]http://laukings.com/sethhack/pic2.png[/img]
and here is my gamemode(DListView):
[img]http://www.cubeupload.com/files/8f6c00untitled.png[/img]
as you can see they are slightly different, the main difference being that a DListView allows you to have colums.
-Snip-
Wasnt good enought.
[lua]local plylist = vgui.Create("DComboBox",parent)
plylist:SetPos( 20, 20 )
plylist:SetSize( 150, parent:GetTall() - 40 )
plylist:SetMultiple( false )
for _,v in pairs( player.GetAll() ) do plylist:AddItem( v:Name() ) end
[/lua]
That's a basic example using a DComboBox.
[QUOTE=CombineGuru;21427772]ok this is my hack (DComboBox):
[img]http://laukings.com/sethhack/pic2.png[/img]
and here is my gamemode(DListView):
[img]http://www.cubeupload.com/files/8f6c00untitled.png[/img]
as you can see they are slightly different, the main difference being that a DListView allows you to have colums.[/QUOTE]
Ok that makes sense, the first one looks a lot like bacon bot =3.
[QUOTE=Entoros;21428791][lua]local plylist = vgui.Create("DComboBox",parent)
plylist:SetPos( 20, 20 )
plylist:SetSize( 150, parent:GetTall() - 40 )
plylist:SetMultiple( false )
for _,v in pairs( player.GetAll() ) do plylist:AddItem( v:Name() ) end
[/lua]
That's a basic example using a DComboBox.[/QUOTE]
Thank you.
[QUOTE=iRzilla;21432475]Probably is.[/QUOTE]
No, I stole the background material.
That explains the different silkicions or w/e. And is that hack in derma?
[QUOTE=c-unit;21432634]That explains the different silkicions or w/e. And is that hack in derma?[/QUOTE]
I sent you a PM.
Sorry, you need to Log In to post a reply to this thread.