0 Üye ve 1 Ziyaretçi konuyu incelemekte.
ozelSkinler = { [1] = { "Admin", 211 }, -- ACL grubu ve Skin ID -- İsteğe göre ayarlayın.}addEventHandler("onElementModelChange", root, function( eskiModel )local accountname = getAccountName(getPlayerAccount(source)) for _, data in pairs (ozelSkinler) do local Grup, Skin = data[1], data[2] if getElementModel(source) == Skin and not isObjectInACLGroup("user." ..accountname, aclGetGroup(Grup)) then outputChatBox("Bu Skin Sadece "..Grup.." Tarafından Kullanılabilir.", source, 255, 0, 255, true) setTimer(setElementModel, 50, 1, source, 0) end end end)
KodozelSkinler = { [1] = { "Admin", 211 }, -- ACL grubu ve Skin ID -- İsteğe göre ayarlayın.}addEventHandler("onElementModelChange", root, function( eskiModel )local accountname = getAccountName(getPlayerAccount(source)) for _, data in pairs (ozelSkinler) do local Grup, Skin = data[1], data[2] if getElementModel(source) == Skin and not isObjectInACLGroup("user." ..accountname, aclGetGroup(Grup)) then outputChatBox("Bu Skin Sadece "..Grup.." Tarafından Kullanılabilir.", source, 255, 0, 255, true) setTimer(setElementModel, 50, 1, source, 0) end end end)Anladığım kadarıyla ACL ye özel skinler olanlar skini alabilsin?
Tamamdır attığım kod server side taraflı çalışıtıp kurabilirsin FBI gurbununu vs. skin id ni kendine göre düzenle tablodan.