Hello face punch. I was making a theme for the derma skin and i cant quite figure out how to change the color of the text in the buttons, all that i can find is the actual functions of the buttons in the "showteamtabs.lua". If anyone could direct me in how to change them that would be awesome.
[B]Thanks,
LemonHead[/B]
[IMG]http://puu.sh/5nBMA.jpg[/IMG]
Should look for something that has one for each one of the buttons.
You can just do this when you find it.
[CODE]
EXAMPLE:SetText("EXAMPLE")
EXAMPLE:SetColor(Color(255,255,255))
[/CODE]
Easy and correct way:
You have to make your own skin file. The default one is located in garrysmod/lua/skins/default.lua. Copypaste it, rename it, edit stuff inside.
I think you can then use [URL]http://wiki.garrysmod.com/page/GM/ForceDermaSkin[/URL] in order to force darkrp to use your custom skin, I'm not sure.
Tedious and less correct way:
Do what the above said, go to all DLabel and DButton controls around the code and add SetTextColor.
Sorry, you need to Log In to post a reply to this thread.