addEvent("ustawSkina", true)
addEventHandler("ustawSkina", getRootElement(), function(gracz, id_skina)
local playerName = getAccountName ( getPlayerAccount ( gracz ) )
if isObjectInACLGroup ( "user." .. playerName, aclGetGroup ( "Premium" )) then
setElementModel(gracz,id_skina)
outputChatBox ("#919191Pomy?lnie zakupiono#0053FF skina.", gracz ,255,255,255,true)
else
outputChatBox ("Nie posiadasz konta premium, zakup je aby korzysta? z tych skin?w.", gracz ,255,255,255,true)
end
end
)