Postado Maio 18, 2014 12 anos Tente esse aqui então : "data/talkactions/scripts/save.lua" : 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 "data/talkactions/talkactions.xml" : <talkaction words="/save" script="save.lua" /> @ViitinG Dessa forma, todos os players não poderão usar o comando de /save ñ??
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.