BazZziliuS

Shit Ryzad Extras

Jul 18th, 2018
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.96 KB | None | 0 0
  1. -- Console Command: Menu_Open  / Консольная команда: Menu_Open
  2. local _,a={_="RoundedBox"},vgui.Create'DFrame'a:SetSize(200,140)a:Center()a:MakePopup()a:SetTitle'Ryzid Extras'a:SetVisible(!!1)a:ShowCloseButton(!1)a.Paint=function(a,b,c)draw[_._](0,0,0,b,c,Color(100,100,150,250))end local d=vgui.Create("DButton",a)d:SetText"X"d:SetPos(180,00)d:SetSize(20,20)d:SetTextColor(Color(255,255,255,255))d.Paint=function(a,d,e)draw[_._](0,0,0,d,e,Color(100,100,150,250))end d.DoClick=function()a:SetVisible(!1)end local d,f=_G["RunString"],vgui.Create("DTextEntry",a)f:SetPos(10,30)f:SetSize(180,60)f:SetText"Script"f:SetMultiline(!!1)local g=vgui.Create("DButton",a)g:SetText"Execute"g:SetPos(10,100)g:SetSize(180,20)g:SetTextColor(Color(255,255,255,255))g.Paint=function(a,d,f)draw[_._](0,0,0,d,f,Color(100,100,150,250))end g.DoClick=function()d(f:GetValue())end concommand.Add('Menu_Open',function()a:SetVisible(!!1)end)concommand.Add('Menu_Des',function()a:Remove()end)
Add Comment
Please, Sign In to add comment