Postado Maio 26, 2016 10 anos SCRIPT function onUse(cid, item, frompos, item2, topos) local monstro = getItemAttribute(item.uid, "corpse") local health = getItemAttribute(item.uid, "health") local name = getItemAttribute(item.uid, "monstro") if #getCreatureSummons(cid) > 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você ja esta usando uma reencarnação !") return true end if getPlayerMana(cid) < health/100*70 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você não tem chakra suficiente") return true end if getPlayerStorageValue(cid, 24436) == 1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você não pode invocar mais de uma reanimação junto.") return true end t = doCreateMonster(monstro, getThingPos(cid)) doConvinceCreature(cid, t) setCreatureMaxHealth(t, health) doCreatureAddHealth(t, health) doPlayerAddMana(t, -getItemAttribute(item.uid, "health")/90) setPlayerStorageValue(cid, 24436, name) return true end erro:http://prntscr.com/b8i3c7 ESSA SCRIPT FUNCIONA ASSIM O PLAYER TEM X ITEM ESSE ITEM QUANDO CLIKADO NUM CORPO DE CERTA VOCAÇAO NAO SAO TODAS APENAS ALGUMAS ELAS reencarnao FICA TIPO UM MONSTER ELE ATACA ETC.
Postado Maio 26, 2016 10 anos "O arquivo não está no diretório". Você colocou o nome do arquivo errado na tag. Não dou suporte via PM, crie um tópico caso tenha dúvidas. Isso previne que outras pessoas com a mesma dúvida criem tópicos desnecessários.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.