General > Developers Corner

Customising Derma Panels

(1/1)

DankNessProvides:
I want to customise the DPanels from the old ugly ones that look like this:
https://gyazo.com/0fc3d59e3489aa58e56084e525d3b67a
https://gyazo.com/af4a9b4126c8d38ccead083d93ccf390
https://gyazo.com/f4323491ca13b0d902bf50978a88b149

What I wish to know is where is the default code for these as I do not know where it is and would just like to make them look a little nicer I understand the basics of DPANEL and the sort of things you can do with it and if I screw it up thats my fault. All I am asking does anyone know where the code is and tell me the location of it as I want to make it look nicer and more custom to our community as most players hate the default ones. I know there was an addon that did this but it is no longer around :/.

JamminR:
It would be difficult to tell you where the code is without knowing what those menus are from.
They are not ULX, or an addon I'm familiar with.

DankNessProvides:

--- Quote from: JamminR on May 29, 2016, 07:57:24 AM ---It would be difficult to tell you where the code is without knowing what those menus are from.
They are not ULX, or an addon I'm familiar with.

--- End quote ---

They are just the default DarkRP ones just no idea where the code would be. I would assume it would be in the gamemode folder....

JamminR:
Don't edit a core gamemode.
FPTje created a addon so you can overwrite whatever functions.
See https://github.com/FPtje/darkrpmodification
(Which is pointed to by https://github.com/FPtje/DarkRP/blob/master/DON'T%20TOUCH%20ANY%20OF%20THESE%20FILES.txt )

You can find the actual code and functions that you want to modify in https://github.com/FPtje/DarkRP/

List of Dark RP links, including a nice wiki that includes key functions -
https://github.com/FPtje/DarkRP/wiki/Links

But again, don't modify core files.
Just as we would never recommend editing core ULib or ULX files.

Navigation

[0] Message Index

Go to full version