Besegnar
Raz Server 7.6
- Joined
- Dec 21, 2009
- Messages
- 96
- Reaction score
- 0
Hello, I've abit of a problem.. when I try to /save on my 10.76 server this error shows up:
This is my save.lua:
This is my save.lua:
Code:
local savingEvent = 0
function onSay(player, words, param)
if player:getGroup():getAccess() then
if isNumber(param) 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