I am not the best with clientside stuff and really need some help figuring out the best way to make a scoreboard and what derma controls to use.
I would appreciate any help!
Perfect example right on the wiki [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index64cf.html[/url]
or you can do
[lua]
function GM:ScoreboardShow()
<derma inside or code>
end
function GM:ScoreboardHide()
<close the derma panels here>
end
[/lua]
[QUOTE=Internet1001;40700460]Perfect example right on the wiki [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index64cf.html[/url][/QUOTE]
Okay, I'm using a DListView, but the Paint method doesn't seem to do anything on the columns like so
[lua]
SBoardList:AddColumn("Deaths").Paint = function()
draw.RoundedBox(6, 0, 0, 100, 200, Color(255, 0, 0, 255))
end
[/lua]
other methods seem to work though, like SetFixedWidth()
[QUOTE=xjokerx9;40701371]Okay, I'm using a DListView, but the Paint method doesn't seem to do anything on the columns like so
[lua]
SBoardList:AddColumn("Deaths").Paint = function()
draw.RoundedBox(6, 0, 0, 100, 200, Color(255, 0, 0, 255))
end
[/lua]
other methods seem to work though, like SetFixedWidth()[/QUOTE]
What exactly are you trying to do?
[QUOTE=Internet1001;40701553]What exactly are you trying to do?[/QUOTE]
Make the columns/lines look like an actual scoreboard and not so dull looking.
I have no idea how to override paint to make columns look nicer, sorry.
I think this is actually what I should be doing if I want it done right,
[URL="http://wiki.garrysmod.com/page/Panel_Customization"]http://wiki.garrysmod.com/page/Panel_Customization[/URL]
Sorry, you need to Log In to post a reply to this thread.