• DarkRP help
    4 replies, posted
Hello i want to remove the F1 Function in DarkRP and want to replace it with my own menu where is the code located at to remove the F1 menu of darkrp Thanks.
[LUA] GM.ShowHelp = function() -- Custom menu end [/LUA]
Yes but when i open my custom menu by pressing F1 the darkrp help menu gets also opened. And i need to get rid of that DarkRP help menu.
The custom f1 menu for darkrp is called in cl_init.lua [lua] function GM:ShowHelp() if not HelpVGUI then HelpVGUI = vgui.Create("HelpVGUI") end HelpToggled = not HelpToggled HelpVGUI.HelpX = HelpVGUI.StartHelpX HelpVGUI:FillHelpInfo() HelpVGUI:SetVisible(HelpToggled) gui.EnableScreenClicker(HelpToggled) end [/lua] By the way you must have missed this thread [URL="http://facepunch.com/showthread.php?t=1249475"]http://facepunch.com/showthread.php?t=1249475[/URL] Also for future reference in Notepad ++ (If you use it) you could open the files of the gamemode and hit ctrl + f and then do a search In All Opened Documents for what you are looking for and then see what file it's in.
Should be easy as this... [code] function GM:ShowHelp() --deleted code-- end [/code]
Sorry, you need to Log In to post a reply to this thread.