Ir para conteúdo

Script Outfit


Thiigoo

Posts Recomendados

function onLogin(cid)

local sex = {
[0] = {lookType = 136, lookHead =  getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0},
[1] = {lookType = 128, lookHead =  getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}
}

if isPremium(cid) == TRUE then
setPlayerStorageValue(cid, 9899, 1)
elseif getPlayerStorageValue(cid, 9899) >= 1 and isPremium(cid) == FALSE then
doCreatureChangeOutfit(cid, sex[getPlayerSex(cid)])
setPlayerStorageValue(cid, 9899, -1)
end
return TRUE 
end

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...