Im wondering, how do you change stuff like darkrp's vgui (Voting etc) Not only the colors of it but also stuff like the borders, etc
[url]https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/voting/cl_voting.lua[/url]
change the derma code there, or re-make the system for yourself.
[QUOTE=geferon;51037839][url]https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/voting/cl_voting.lua[/url]
change the derma code there, or re-make the system for yourself.[/QUOTE]
Thanks :) i will try when home :D
You aren't supposed to edit core files so you would need to do it elsewhere I think
[QUOTE=geferon;51037839][url]https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/voting/cl_voting.lua[/url]
change the derma code there, or re-make the system for yourself.[/QUOTE]
[url]http://corefiles.darkrp.eu/[/url]
[QUOTE=geferon;51037839][url]https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/voting/cl_voting.lua[/url]
change the derma code there, or [B]re-make the system for yourself[/B].[/QUOTE]
I never told him to edit the core files -.- (okay maybe i did)
Doesn't matter now as he just got banned.
Why is editing core files so bad?
It will break the gamemode plus when a new version of DarkRP comes out those parts you edited will have to be manually changed back.
[QUOTE=Wolfy_;51040229]Why is editing core files so bad?[/QUOTE]
Because whenever the gamemode / addon that you edited gets an update, you have to implement your changes again.
I think it happens also because kiddies installs and edits core files, those geta broken and start to make noise because this
Like, darkrp works, you can access almost everything via code if you know how, you dont have to edit core because it works well
[QUOTE=Wolfy_;51040229]Why is editing core files so bad?[/QUOTE]
If you make a mistake and loss track you are sometimes faced with the need to restore the gamemode. Not only that, you can effect elements of the gamemode that you wasn't meaning to edit by accident.
Either way, it isn't a legal death rule that you can't edit core files. If I owned a DarkRP server, I would.
Only problem is that you will have to recheck everything before updating, and replace code accordingly. You could accidentally override your edits or run the risk of not being able to update, which isn't always a problem but who doesn't want new features?
Sorry, you need to Log In to post a reply to this thread.