Advertisement
Guest User

Untitled

a guest
Nov 29th, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. local DermaButton = vgui.Create( "DButton", MainMenu )
  2. DermaButton:SetText( "" )
  3. DermaButton:SetSize( ScrW() / 6.2, ScrH() / 21 )
  4. DermaButton:SetPos( ScrW() / 5.25, ScrH() / 1.462)
  5. DButton.DoClick = function()
  6. gui.OpenURL( "http://google.com" )
  7. end
  8. DermaButton.Paint = function()
  9. draw.RoundedBox( 0, 0, 0, ScrW() / 6, ScrH() / 16, Color(255, 255, 255, 255), agree)
  10. draw.RoundedBox( 0, 0, ScrH() / 20, ScrW() / 6, ScrH() / 80, Color(255, 255, 255, 255), agreec)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement