DProperty_Combo:DataChanged
Açıklama
Kullanıcı yeni bir değer seçtikten sonra çağrılır.
Argümanlar
Örnek
"Table" seçeneğine tıklayın.
local choice = DP:CreateRow( "Choices", "Combo #2: Custom default text" )
choice:Setup( "Combo", "Select type..." )
choice:AddChoice( "Table", {} )
choice:AddChoice( "Function", function() end )
choice:AddChoice( "String", "Hello world" )
choice.DataChanged = function( self, data )
print( "You selected: ", data )
end
Çıktı:
You selected: table: 0x8e05f3b8
Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord