@slicer vlw por lembra 
@tópico aqui o novo
--config by uotl£
local config = {
limite = 10, -- aqui limite 1 por segundos
effect = 78, -- aqui efeito
rmana = 50, -- aqui quantos que vai remover de mana
level = 75, -- aqui edita level que pode usar
exhausted = 20000, -- tempo de uso 1000 por segundos
storage = 28956 -- storage
}
--config by uotl£
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,config.storage) < os.time () then
if getTilePzInfo(getCreaturePosition(item2.uid)) then
return true
end
if isPlayer (item2.uid) and getPlayerLevel(cid) >= config.level then
doCreatureSetNoMove(item2.uid, true)
for i = 0,config.limite-1 do
addEvent(timeMana,i*1000,cid,item2,i*1000)
end
setPlayerStorageValue(cid,config.storage, os.time () + config.exhausted/1000)
else
doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,"você não tem level "..config.level.." ou superior")
return true
end
else
doPlayerSendCancel(cid, "exhausted")
return true
end
end
function timeMana (cid,item2,x)
if (not isPlayer(item2.uid)) then
return true
end
doCreatureAddMana(item2.uid, -config.rmana)
doSendMagicEffect(getPlayerPosition(item2.uid),config.effect)
if x == ((config.limite-1)*1000) then
doCreatureSetNoMove(item2.uid, false)
return true
end
end
Por Favor quando for fazer pedidos faz o pedido com mais clareza e com os mínimos detalhes
GOSTO DOS MEUS SCRIPT CLICK EM CURTIR :D
sistema de fome
TROCA TROCA
sistema coliseum by notle v1
new sistema [KILLER-UP]
