actions/goback, acima da função:
function onUse(cid, item, frompos, item2, topos)
pule uma linha e acima adicione:
local exausted = 2
local STORAGE_EXAUSTED = 918312
Procure por:
if item.itemid == usando then
E logo abaixo você irá encontrar por:
doReturnPokemon(cid, z, item, effect)
Acima dessa linha adicione:
setPlayerStorageValue(cid, STORAGE_EXAUSTED, os.time() + exausted)
Agora procure por:
local pokemon = getItemAttribute(item.uid, "poke")
Pule 1 linha e adicione acima:
if getPlayerStorageValue(cid, STORAGE_EXAUSTED) > os.time() then
return doPlayerSendCancel(cid, string.format("Desculpe, não é possivel. (%d segundo%s)", getPlayerStorageValue(cid, STORAGE_EXAUSTED) - os.time(), (getPlayerStorageValue(cid, STORAGE_EXAUSTED) - os.time()) > 1 and "s" or ""))
end
Tenta assim.