DProperty_Combo:SetSelected
Açıklama
Seçili olan seçeneği ayarlar.
Argümanlar
Örnek
İkinci seçeneği seçili olarak ayarlar.
local choice = DP:CreateRow( "Choices", "Hello world" )
choice:Setup( "Combo" )
choice:AddChoice( "Choice #1", {} )
choice:AddChoice( "Choice #2", 8 )
choice:AddChoice( "Choice #3", "Hello world", true )
choice:SetSelected( 2 ) -- "Choice #3" varsayılan olarak seçili olsa bile, "Choice #2" seçilecektir.
Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord