[/shadow][/glow][/u][/b]
Hello! I had a quick question.... how would i make a text entry box under a derma command This is what i have so far....
local slay = vgui.Create( "DButton", MyDerma )
slay:SetPos( 50, 225 )
slay:SetText( "Slay" )
slay.DoClick = function()
MyDerma:Close()
RunConsoleCommand( "ulx", "slay" )
end
This code works fine but how do i make it do there is a text box under the button? After that how do i make it so if you type somthing in it puts in the console command.
ex: the code is RunConsoleCommand( "ulx", "slay" ) and i want the box to input a name. how would i do that?
Thanks!