Got a script and the cooldown doesnt work
Can anyone repair it fast to me? Its just a piece of the script, i dont think more from the script is nessecary
Code:
if exhaustion.check(cid, 23000) == true then
exhaustion.set(cid, 23000, 100)
return doCombat(parameters.cid, parameters.combat, parameters.var)
else
return doPlayerSendCancel(cid, "Cooldown[" ..exhaustion.get(cid, 23000).."]")
end
end
end
else
return doPlayerSendCancel(cid, "Sosrry. You must have an pokemon to cast.")
end
return true
end
Can anyone repair it fast to me? Its just a piece of the script, i dont think more from the script is nessecary