Nao entendo muito desses bang de exausted em talk entao ficaria mais o menos assim?
function onSay(cid, words, param)
local storage = 23009
local time = 100
if doPlayerSave(cid) then
exhaustion.check(cid, storage) == false then
exhaustion.set(cid, storage, time)
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You are exhausted for: " ..exhaustion.get(cid, storage).." seconds.")
return TRUE
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Seu personagem foi salvo com sucesso.")
end
return true
end