Dilio
Owner of Project Thala
Lua:local waittime = 30 --Default (30 seconds) local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (1000 * waittime)) function onSay(cid, words, param, channel) if hasCondition(cid, CONDITION_EXHAUST) == FALSE then doPlayerSave(cid) doAddCondition(cid, exhaust) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have successfully saved your character.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You must wait 30 seconds between each save.") end return TRUE end
Thanks JDB and chris77. Updated first post and gave you both credit. Gave ya both Rep too.