Motor Sınıfı
Dialog
*Bu içerik, yapay zekâ (beta) kullanılarak çevrildi ve hatalar içerebilir. Sayfayı İngilizce görüntülemek için buraya tıkla.
Özet
Özellikler
Yöntemler
GetCurrentPlayers():Instances |
Olaylar
DialogChoiceSelected(player: Instance,dialogChoice: Instance):RBXScriptSignal |
API Referansı
Özellikler
Yöntemler
GetCurrentPlayers
Dialog:GetCurrentPlayers():Instances
Dönüşler
Instances
Kod Örnekleri
Dialog:GetCurrentPlayers
local dialog = script.Parent
local function onChoiceSelected(_player, _choice)
local currentPlayers = dialog:GetCurrentPlayers()
print("Diyalogdaki mevcut oyuncular:")
for _, player in ipairs(currentPlayers) do
print(player)
end
end
dialog.DialogChoiceSelected:Connect(onChoiceSelected)Olaylar
DialogChoiceSelected