• Dark rp code.
    4 replies, posted
Hello. So I am recoloring the f4 menu and have run into a issue. I cant seem to find the line to change the background of it(The blackish color). Everything else i can find and change. Can someone tell me the file and line its on? Thanks.
Did you edit core files? Then read this: [url]https://raw.githubusercontent.com/FPtje/DarkRP/master/DON'T%20TOUCH%20ANY%20OF%20THESE%20FILES.txt[/url] [editline]5th August 2014[/editline] The reason why you can't find it is because it's painted by the DarkRP skin. Though you could add a Paint function to this ([url]https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/f4menu/cl_frame.lua#L48[/url]) panel to change the color.
[QUOTE=ms333;45599812]Did you edit core files? Then read this: [url]https://raw.githubusercontent.com/FPtje/DarkRP/master/DON'T%20TOUCH%20ANY%20OF%20THESE%20FILES.txt[/url] [editline]5th August 2014[/editline] The reason why you can't find it is because it's painted by the DarkRP skin. Though you could add a Paint function to this ([url]https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/f4menu/cl_frame.lua#L48[/url]) panel to change the color.[/QUOTE] Okay but the thing is, I cannot find the part of the file even if I wanted to paint it. Were would I do it? The f4 menu has alot of parts which makes it harder if that makes sense.
[QUOTE=helix757;45600087]Okay but the thing is, I cannot find the part of the file even if I wanted to paint it. Were would I do it? The f4 menu has alot of parts which makes it harder if that makes sense.[/QUOTE] I linked you to the file (and line) in the DarkRP gamemode where the F4 frame is made, which is where you could add a PANEL:Paint(w, h) etc.., but as I mentioned, you really shouldn't edit those files.
Its really just some colors. Im not like doing bad stuff. Its just some appearance changes.
Sorry, you need to Log In to post a reply to this thread.