Learn
Motor Sıralaması
CreateOutfitFailure

*Bu içerik, yapay zekâ (beta) kullanılarak çevrildi ve hatalar içerebilir. Sayfayı İngilizce görüntülemek için buraya tıkla.


Öğeler
AdDeğerÖzet
InvalidName1
OutfitLimitReached2
Other3

Kod Örnekleri

Kıyafet Oluşturma Sonuçlarını Yönetme
local AvatarEditorService = game:GetService("AvatarEditorService")
AvatarEditorService.PromptCreateOutfitCompleted:Connect(function(result, failureType)
if result == Enum.AvatarPromptResult.Success then
-- Kıyafet oluşturuldu
elseif result == Enum.AvatarPromptResult.PermissionDenied then
-- Kullanıcı isteği reddetti; failureType'ı göz ardı et
else -- Enum.AvatarPromptResult.Failed
if failureType == Enum.CreateOutfitFailure.OutfitLimitReached then
-- Kullanıcıya kıyafet sınırına ulaştığını söyle
elseif failureType == Enum.CreateOutfitFailure.InvalidName then
-- Kullanıcıdan farklı bir isim seçmesini iste
else -- Enum.CreateOutfitFailure.Other
-- Genel bir hata; yeniden dene veya genel bir hata göster
end
end
end)
©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.