Hello everyone.
After a gmod update a while back (maybe a month or two) my custom derma skin I had made for my TTT server stopped working. I did not edit it or anything, and it just stopped working. :iiam:
I decided that it was because I had it in /skins and it wasn't getting loaded anymore or something, so I put the skin (as well as the hook, GM:ForceDermaSkin()) in autorun/client and tested it in my single player, and it loaded fine and applied it.
So after it worked in single player, I uploaded it on to my gameserver under the directory "lua/autorun/client" and AddCSLuaFile'd it with a file in "lua/autorun/server". I joined my server, loaded the new lua cache, and it was still the same shitty default derma skin.
Am I the only one having this issue or is there a way to fix this and I'm missing it?
GM:ForceDermaSkin was made deprecated a few updates ago. You need to call SetSkin() on each panel.
...That's so stupid. Why would it not work anymore? I don't want to have to go through every single panel in my addons and gamemode and use SetSkin. There has to be an easier way.
[QUOTE=Chief Tiger;24721100]...That's so stupid. Why would it not work anymore? I don't want to have to go through every single panel in my addons and gamemode and use SetSkin. There has to be an easier way.[/QUOTE]
Because Garry (I don't know why, ask him) made some changes regarding how Derma and whatsnot is controlled.
I don't think garry would want to talk to me about how he changed his derma code. :v:
Sorry, you need to Log In to post a reply to this thread.