Sup,
i am making a derma buy menu / tool menu, but i cannot figure out how to edit the tools in the menu, instead of the context menu
this is my code
local settingsCategory = vgui.Create("DCollapsibleCategory", ToolPanel2)
settingsCategory:SetPos(0,0)
settingsCategory:SetSize(ToolPanel2:GetWide(),725)
settingsCategory:SetLabel("settings")
My menu
http://prntscr.com/iy6hjw
The settings i want in it for example
http://prntscr.com/iy6i35
No one knows?
i dont want to spoonfeed you, you can always tear apart some addons (precision etc. you name them) and check out how they did it and implement it in your code (just dont copy paste the whole thing and expect it to work :P)
i have been trying that but i can't manage to make a panel for people to edit the ingame settings with
You might be able to get the control panel by using [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/controlpanel/Get]controlpanel.Get[/url]
Sorry, you need to Log In to post a reply to this thread.