--Script by Amiroslo/ and help with timeing from Znote
function onSay(cid, words, param)
if exhaustion.check(cid, 7645) == false then -- 7645 (Empty storage)
exhaustion.set(cid, 7645, 10) -- 7645(same storage as ^, Empty Storage) 10(How many second to wait until u press it again!)
if doPlayerSave(cid) then
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYDAMAGE)
doCreatureSay(cid,"Player Saved",TALKTYPE_ORANGE_1)
end
else
doPlayerSendTextMessage(cid, 17, "You are exhausted for "..(getCreatureStorage(cid, 7645) - os.time()).."!")
end
return TRUE
end