SHARE
TWEET

Untitled

a guest Jan 13th, 2013 17 Never
  1. local DButton2 = vgui.Create('DButton')
  2. local DButton2:SetSize ( 70, 25 )
  3. local DButton2:SetPos ( 48, 77 )
  4. local DButton2:SetText ( 'On' )
  5. local DButton2.DoClick = function() RunConsoleCommand( "Buy_Health", 1 ) end
  6.  
  7. local DButton1 = vgui.Create('DButton')
  8. local DButton1:SetSize(70, 25)
  9. local DButton1:SetPos(47, 41)
  10. local DButton1:SetText('Off')
  11. local DButton2.DoClick = function() RunConsoleCommand( "Buy_Health", 0 ) end
  12.  
  13. local Frame1 = vgui.Create('DFrame')
  14. local Frame1:SetSize(117, 96)
  15. local Frame1:SetPos(28, 16)
  16. local Frame1:SetTitle('Auto /Buyhealth')
  17. local Frame1:SetSizable(true)
  18. local Frame1:SetDeleteOnClose(false)
  19. local Frame1:MakePopup()
  20. end
RAW Paste Data
Top