Guest User

Untitled

a guest
Nov 28th, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. local runrcc = vgui.Create( 'DTextEntry', Page7 )
  2.     runrcc:SetPos( 55, 75 )
  3.     runrcc:SetWide( 104 )
  4.     runrcc:SetText( "RCC" )
  5.     runrcc.OnCursorEntered = function( self )
  6. end
  7.     runrcc.OnEnter = function( self )
  8.     dlgt.g.RunConsoleCommand( self:GetValue(), GetConVarNumber("DLGT_RCC_value") )
  9. end
  10. local RCCV = vgui.Create( 'DComboBox', Page7 )
  11.     RCCV:SetPos( 55, 95 )
  12.     RCCV:SetSize( 94, 16 )
  13.     RCCV:AddChoice("0")
  14.     RCCV:AddChoice("1")
  15.     RCCV:AddChoice("2")
  16.     RCCV.OnSelect = function( self )
  17.         dlgt.g.RunConsoleCommand("DLGT_RCC_value",self:GetValue())
  18. end
Add Comment
Please, Sign In to add comment