@Kuro o Shiniga Bom script, acho que faltou algo ali em action, isso:
if getPlayerStorageValue(cid, 2307) < 1 and getPlayerStorageValue(cid, 2308) < 1 and getPlayerStorageValue(cid, 2309) < 1 then return doPlayerSendCancel(cid, "Desculpe, você não possui nenhuma morte recente") end
Ficando assim:
function onUse(cid, item, fromPosition, itemEx, toPosition) if getTilePzInfo(getCreaturePosition(cid)) == false then return doCreatureSay(cid, "Não pode usar fora do pz", TALKTYPE_ORANGE_1) and doSendMagicEffect(getPlayerPosition(cid), 2) end if getPlayerStorageValue(cid, 2307) < 1 and getPlayerStorageValue(cid, 2308) < 1 and getPlayerStorageValue(cid, 2309) < 1 then return doPlayerSendCancel(cid, "Desculpe, você não possui nenhuma morte recente") end local pose = {x=getPlayerStorageValue(cid, 2307), y=getPlayerStorageValue(cid, 2308), z=getPlayerStorageValue(cid, 2309)} doSendMagicEffect(getThingPos(cid), 10) doTeleportThing(cid, pose) doSendMagicEffect(getThingPos(cid), 61) doPlayerSendTextMessage(cid, 22, "Return to death") setPlayerStorageValue(cid, 2307, -1) setPlayerStorageValue(cid, 2308, -1) setPlayerStorageValue(cid, 2309, -1) doRemoveItem(item.uid, 1) return true end


info
Grupo: Colaborador
Registrado: 27/12/10
Posts: 271
Reputação: +87
Gênero: Masculino
O Jogador usa o item e volta ate o local aonde ele morreu, o item só pode ser utilizado dentro do PZ.
Actions :
CreatureScript:
Login.lua: