Since you guys wont respond to my other thread. Heres a new one.
10 Buttons
Bind to +Perp_Menu
(Willing to pay $5)
I will edit binds on my own. Please just make the script with blank fields(or aka "Insert Bind Here")
What size, how do you want the buttons placed.
Doesn't matter on either. I'd like two on each side
et.
Say CheezeBurger Say Hamburgurr
say LOL say ROFL
Bump.
So you want an Derma menu with 10 buttons wich you open with typing the command +Perp_Menu ?
I'll do it!
Dosent PERP use Script-Enforcer?
add samwilki to steam.
[QUOTE=mikeym;20446603]Since you guys wont respond to my other thread. Heres a new one.
10 Buttons
Bind to +Perp_Menu
(Willing to pay $5)
I will edit binds on my own. Please just make the script with blank fields(or aka "Insert Bind Here")[/QUOTE]
Will this work for you?
[lua]
function PUTYOURFUNCTIONNAMEHERE()
local frame = vgui.Create( "DFrame" )
frame:SetPos( ScrW() / 2, ScrH() / 2 )
frame:SetSize( 400, 70 ) --Set the size
frame:SetTitle( "Mikeys Menu?" ) --Set title
frame:SetVisible( true )
frame:SetDraggable( false )
frame:ShowCloseButton( true )
frame:MakePopup()
Button1 = vgui.Create( "DButton", frame )
Button1:SetPos( 1, 30 )
Button1:SetSize( 100, 30 )
Button1:SetText( "say CheezeBurger" )
Button1.DoClick = function()
RunConsoleCommand( "say CheezeBurger" )
end
Button2 = vgui.Create( "DButton", frame )
Button2:SetPos( 100, 30 )
Button2:SetSize( 100, 30 )
Button2:SetText( "say ROFL" )
Button2.DoClick = function()
RunConsoleCommand( "say ROFL" )
end
Button3 = vgui.Create( "DButton", frame )
Button3:SetPos( 200, 30 )
Button3:SetSize( 100, 30 )
Button3:SetText( "say Hamburgurr" )
Button3.DoClick = function()
RunConsoleCommand( "say Hamburgurr" )
end
Button4 = vgui.Create( "DButton", frame )
Button4:SetPos( 300, 30 )
Button4:SetSize( 100, 30 )
Button4:SetText( "say LOL" )
Button4.DoClick = function()
RunConsoleCommand( "say LOL" )
end
end
concommand.Add( "+Perp_Menu", PUTYOURFUNCTIONNAMEHERE )
[/lua]
Sorry, you need to Log In to post a reply to this thread.