Oi, eu preciso seu ajuda para arrumar bug do revive!
Oi, eu preciso seu ajuda para arrumar bug do revive!
Ta..você posta o erro e não posta o SCRIPT e quer que nois faça uma magica aqui para ajuda-lo?
Project Pokémon Mysterion OpenSoures 2016.
Em breve, mais informações!
perdon jaja, meu revive.lua.. Uso PDA 1.9
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 990) >= 1 thendoPlayerSendCancel(cid, "You can't use revive during gym battles.")return trueendif getPlayerStorageValue(cid, 52481) >= 1 thenreturn doPlayerSendCancel(cid, "You can't do that while a duel.") --alterado v1.6end--if item2.itemid <= 0 or not isPokeball(item2.itemid) thendoPlayerSendCancel(cid, "Please, use revive only on pokeballs.")return trueendfor a, b in pairs (pokeballs) doif item2.itemid == b.on or item2.itemid == b.off then --edited deixei igual ao do PXGdoTransformItem(item2.uid, b.on)doSetItemAttribute(item2.uid, "hp", 1)for c = 1, 15 dolocal str = "move"..csetCD(item2.uid, str, 0)endsetCD(item2.uid, "control", 0)setCD(item2.uid, "blink", 0) --alterado v1.6doSendMagicEffect(getThingPos(cid), 13)doRemoveItem(item.uid, 1)doCureBallStatus(item2.uid, "all")cleanBuffs2(item2.uid) --alterado v1.5if useOTClient thenonPokeHealthChange(cid) --alterei akiendreturn trueendendreturn trueend
da onde tu tiro esse script heim? --' n era pra tu ter ele neh stylo...
o problema ta q tu n tem a funçao onPokeHealthChange...
"Só a beira do abismo que os seres humanos acham forças para mudar."... E isso me da nojo... ¬¬
"Insanity is doing the exact... same fucking thing... over and over again expecting... shit to change... That. Is. Crazy." -Vass/Einstein
E como Adiciona Isso?
da onde tu tiro esse script heim? --' n era pra tu ter ele neh stylo...
o problema ta q tu n tem a funçao onPokeHealthChange...
"O fracasso é a oportunidade de se começar de novo inteligentemente"