Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DermaButton = vgui.Create( "DButton", MainMenu )
- DermaButton:SetText( "" )
- DermaButton:SetSize( ScrW() / 6.2, ScrH() / 21 )
- DermaButton:SetPos( ScrW() / 5.25, ScrH() / 1.462)
- DButton.DoClick = function()
- gui.OpenURL( "http://google.com" )
- end
- DermaButton.Paint = function()
- draw.RoundedBox( 0, 0, 0, ScrW() / 6, ScrH() / 16, Color(255, 255, 255, 255), agree)
- draw.RoundedBox( 0, 0, ScrH() / 20, ScrW() / 6, ScrH() / 80, Color(255, 255, 255, 255), agreec)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement