gostaria de perguntar uma coisa!Dado este Script:
local vocs = {
[0] = 11,
[5] = 9,
[2] = 10,
[6] = 10,
[3] = 11,
[7] = 11,
[4] = 12,
[8] = 12,
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerStorageValue(cid, 1992) == 1 then
return doCreatureSay(cid, "Voce Ja ganhou a Armadura", TALKTYPE_ORANGE_1)
end
if getPlayerLevel(cid) < 20 then
return doCreatureSay(cid, "Voce deve ter level 20 ou mais para usar o Item!", TALKTYPE_ORANGE_1)
end
doPlayerSetVocation(cid, vocs[getPlayerVocation(cid)])
doSendMagicEffect(fromPosition, 2)
doRemoveItem(item.uid, 1)
return setPlayerStorageValue(cid, 1992, 1)
end
qual comando faço pra colocar uma Outfit? Pra que a nova vocação, ganhe uma Nova Outfit Também?
Obrigado!