function onSay(cid, words, param, channel)
local cfg = {
storage = 4931,
time = 30 * 1000
}
if(exhaustion.get(cid, cfg.storage) == false) then
doPlayerSave(cid, true)
exhaustion.set(cid, cfg.storage, cfg.time)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have successfully saved your character.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You must wait " .. exhaustion.get(cid, cfg.storage) .. " seconds.")
end
return true
end