Ir para conteúdo

Featured Replies

Postado

Galeera, preciso de ajudar urgente, antes eu tinha uma creaturescripts, que dava limit na magic, level , séra que alguem tem? para me arrumar, meu Server de Nto a ml ta chegano a 300 é quero limit, 150 já configure no .lua botei 0.1 nas vocations tmb, é continua pf alguem ajuda a limitar, REP+++

                                                        

Resolvido por xWhiteWolf

Ir para solução
  • Respostas 12
  • Visualizações 729
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • tenta assim function onLogin(cid) if getPlayerMagLevel(cid) >= 150 then doPlayerSetRate(cid, 7, 0) end return true end function onAdvance(cid, skill, oldlevel, newlevel) if getPlayerMagLevel(ci

  • Ok, vou testar aki se alguem passar de 150 te aviso... White testei, não funcionou tem gente já com 159, no config.lua ta 0.1 XWhiteWolf, ajuda pf cara, isso e mt importante para mim é tipo um b

Postado
function onLogin(cid)
if getPlayerMagLevel(cid) >= 150 then
doPlayerSetMagicRate(cid, 0)
end
return true
end

function onAdvance(cid, skill, oldlevel, newlevel)
if getPlayerMagLevel(cid) >= 150 then
doPlayerSetMagicRate(cid, 0)
end
return true
end

Em Creaturescripts.xml

<event type="login" name="MaxMl" event="script" value="MaxMl.lua"/>
<event type="advance" name="MaxMll" event="script" value="MaxMl.lua"/>

em Login.lua

registerCreatureEvent(cid, "MaxMl")
registerCreatureEvent(cid, "MaxMll")

Creditos ?

Emerson Henrique

Editado por Emersonssss (veja o histórico de edições)

Skype : emersonaaron Se Te ajudei não me REP+ isso não muda nada! kkkkkkkkkkkk

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo