
Solutions
-
KOLISAO's post in (Resolvido)Exausted nas portas was marked as the answerse for otx2...
Em config.lua:
timeBetweenActions = 500 timeBetweenExActions = 1000 timeBetweenCustomActions = 500
Diminui os valores até você achar melhor.
-
KOLISAO's post in (Resolvido)talk action crystal coin por hora was marked as the answerDesculpa, esqueci de adicionar a linha kk
local player_stor = 45752 function onSay(cid, words, param) local position = getCreaturePosition(cid) if getPlayerStorageValue(cid, player_stor) - os.time() <= 0 then if doPlayerAddItem(cid, 2160, 10) then doPlayerSendTextMessage(cid, 27, "Você recebeu 100k.") doSendMagicEffect(position, 12) setPlayerStorageValue(cid, player_stor, os.time()+60*60) else doPlayerSendTextMessage(cid,25,"ERROR! Please contact the administrator.") end else doPlayerSendTextMessage(cid,25,"Aguarde ".. convertTime(getPlayerStorageValue(cid, player_stor) - os.time()) ..".") end return true end
Onde 60*60 é 60min
-
KOLISAO's post in (Resolvido)Autoloot Boost Erro was marked as the answerTenta esse:
function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, AutoLoot.Storage_Boost) >= os.time() then doPlayerSendCancel(cid,"Você já está com o BOOST ativado!") return true end if doRemoveItem(item.uid) then doPlayerSetStorageValue(cid, AutoLoot.Storage_Boost, os.time() + 3600 * 24) doSendMagicEffect(getThingPos(cid),49) doPlayerSendTextMessage(cid,MESSAGE_STATUS_WARNING,"Você ativou o Auto Loot BOOST por mais 24 horas. Durante esse tempo os itens coletados serão vendidos automaticamente e o dinheiro será depositado no seu banco.") else doPlayerSendCancel(cid,"ERROR! Please contact the admnistrator.") end return true end