Can anyone make this script able to revive pokemons that arent fainted?
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 990) >= 1 then
doPlayerSendCancel(cid, "You can't use revive during gym battles.")
return true
end
if item2.itemid <= 0 or not...