Chatinho fazer mais é simples :
Na Spells de Travar o Player Coloque :
Não testei porem axo q vai funcionar
Travar o Target
function onCastSpell(cid, var)
local target = getCreatureTarget(cid)
local waittime = 60 - tempo para poder travar o player dnv ( em segundos )
local storage = 2521
if exhaustion.check(cid, storage) then
doPlayerSendCancel(cid, "Você tem que espera " .. exhaustion.get(cid, storage) .. " segundos.")
return false
end
exhaustion.set(cid, storage, waittime)
mayNotMove(target, true)
return true
end
Destravar o Player :
function onCastSpell(cid, var)
local target = getCreatureTarget(cid)
local waittime = 5 - tempo para o player poder destravrar a si mesmo ! em segundos
local storage = 2521
if exhaustion.check(cid, storage) then
doPlayerSendCancel(cid, "Você tem que espera " .. exhaustion.get(cid, storage) .. " segundos.")
return false
end
exhaustion.set(cid, storage, waittime)
mayNotMove(cid, false)
return true
end