Panel:SetConVar
Örnek
cl_drawhud convar'ına bağlı bir onay kutusu (checkbox) oluşturur.
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 100, 100 )
DermaPanel:SetSize( 300, 200 )
DermaPanel:SetTitle( "My new Derma frame" )
DermaPanel:SetDraggable( true )
DermaPanel:MakePopup()
local Checkbox = vgui.Create( "DCheckBoxLabel", DermaPanel )
Checkbox:SetConVar( "cl_drawhud" )
Checkbox:SetText( "Enable HUD?" )
Checkbox:SetPos( 5, 25 )
Checkbox:SizeToContents()
Çıktı: 

Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord