Hello. In TFS 9.31 the talkaction is:
But when i write "!save", I doesn't know if it really save the character, because isn't appears a text message and in the console doesn't appears nothing
Regards
Code:
local savingEvent = 0
function onSay(cid, words, param)
if getPlayerAccess(cid) ~= 0 then
if isNumber(param) == TRUE then
stopEvent(savingEvent)
save(tonumber(param) * 60 * 1000)
else
saveData()
end
end
end
function save(delay)
saveData()
if delay > 0 then
savingEvent = addEvent(save, delay, delay)
end
end
But when i write "!save", I doesn't know if it really save the character, because isn't appears a text message and in the console doesn't appears nothing
Regards