zetibia
Member
- Joined
- Jun 23, 2013
- Messages
- 109
- Reaction score
- 11
Guys, my server is not saving 100% ... How so? Sometimes the server saves the houses in the / save command
sometimes not saved ... why?
Script:
sometimes not saved ... why?
Script:
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
saveServer()
end
end
end
function save(delay)
saveServer()
if delay > 0 then
savingEvent = addEvent(save, delay, delay)
end
end