Tente esse:
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 990) >= 1 then
doPlayerSendCancel(cid, "Sorry, not possible")
return true
end
if getPlayerStorageValue(cid, 52481) >= 1 then
return doPlayerSendCancel(cid, "Sorry, not possible")
end
--
if item2.itemid <= 0 or not isPokeball(item2.itemid) then
doPlayerSendCancel(cid, "Sorry, not possible")
return true
end
for a, b in pairs (pokeballs) do
if item2.itemid == b.on or item2.itemid == b.off then
doTransformItem(item2.uid, b.on)
doSetItemAttribute(item2.uid, "hp", 1)
for c = 1, 15 do
local str = "move"..c
setCD(item2.uid, str, 0)
end
setCD(item2.uid, "control", 0)
setCD(item2.uid, "blink", 0)
doSendMagicEffect(getThingPos(cid), 13)
doRemoveItem(item.uid, 1)
doCureBallStatus(item2.uid, "all")
cleanBuffs2(item2.uid)
if useOTClient then
onPokeHealthChange(cid)
end
return true
end
end
return true
end
Atenciosamente, Stigal.





info
Grupo: Campones
Registrado: 07/11/13
Posts: 86
Reputação: 0
Bom utilizo o servidor de base pda 1.9 by slice e estou com problemas sérios no revive (Ele não estpa tirando o miss)
Revive:
function onUse(cid, item, frompos, item2, topos)
end
NewstatusSyst:
conds = {["Slow"] = 3890,
end