Hello, so I've just recently started learning LUA and I've been working on a menu in Gmod but, I'm stuck at a point and I don't know where to go from there. What I need help with is that I would like in this menu, you would be able to set key binds and when you click them it would put a message in chat. All I need help with is for someone to give me the LUA Script in order to add present binds that you set in the menu and when you click the keys it will send a message to that chat. To sum everything up, I wan'y it to look super organized and really nice.
This is what the menu looks like... I want it to look super nice and organized.
https://steamcommunity.com/sharedfiles/filedetails/?id=1611158179
Current - What I have now
local Frame = vgui.Create("DFrame")
Frame:SetTitle("")
Frame:SetSize(750, 600)
Frame:SetVisible(true)
Frame:Center()
Frame:ShowCloseButton(false)
Frame:MakePopup()
Frame.Paint = function(self, w, h)
draw.RoundedBox(0, 0, 0, w, h, Color(33, 47, 60, 200))
draw.RoundedBox(10, 10, 10, w - 20, h - 20, Color(51, 67, 82, 200))
end
Check out DBinder, ply:ChatPrint and ShowTeam. You will also need to use the net library.
You’re asking for a lot of Lua to be done for you yet you have nothing to show for what you have tried. Code blue has a very good video on how to work with derma panels.
you should probably work on getting your derma functional before making it look pretty.
Sorry, you need to Log In to post a reply to this thread.