Postado Setembro 29, 2015 9 anos GALERA PRECISO DE UMA AJUDA DE VCS, EU TENHO UM SERVER 8.0, E QUERIA POR UM LEVEL MAX NELE EU JÁ CRIEI VARIOS ARQUIVOS EM creaturescripts mais toda vez que vou abrir o server ele da erro e nao funciona aqui o script do level max function onAdvance(cid, skill, oldLevel, newLevel) if getplayerLevel >= 631 then doPlayerAddLevel(cid, -1) doPlayerSendTextMessage(cid,25,"Voce atingiu o Maximo de level.") end return true end no creaturescripts está assim: <event type="advance" name="maxlevel" event="script" value="maxlevel.lua"/> e no loguin a script: function onLogin(cid) registerCreatureEvent(cid, "maxlevel") if (getPlayerVocation(cid) == 303) or (getPlayerVocation(cid) == 304) or (getPlayerVocation(cid) == 305) or (getPlayerVocation(cid) == 306) or (getPlayerVocation(cid) == 307) or (getPlayerVocation(cid) == 308) or (getPlayerVocation(cid) == 309) or (getPlayerVocation(cid) == 310) or (getPlayerVocation(cid) == 311) or (getPlayerVocation(cid) == 312) then doSetCreatureOutfit(cid, 237, -1) return 1 end e msm assim nao funciona alguem poderia me ajudar? ou me mandar pronto?
Postado Setembro 29, 2015 9 anos Tenta Essa: Mostrar conteúdo oculto function onAdvance(cid, skill, oldLevel, newLevel) if getPlayerLevel(cid) >= 631 then doPlayerAddLevel(cid, -1) doPlayerSendTextMessage(cid,25,"Voce atingiu o Maximo de level.") end return true end Se Não Funfa Tenta Essa: Mostrar conteúdo oculto function onAdvance(cid, skill, oldLevel, newLevel) if oldLevel >= 631 then doPlayerAddLevel(cid, -1) doPlayerSendTextMessage(cid,25,"Voce atingiu o Maximo de level.") end return true end Tabem Tem Essas: Mostrar conteúdo oculto function onAdvance(cid, skill, oldLevel, newLevel) if getPlayerLevel(cid) >= 631 then doPlayerSetLevel(cid, 631) doPlayerSendTextMessage(cid,25,"Voce atingiu o Maximo de level.") end return true end function onAdvance(cid, skill, oldLevel, newLevel) if oldLevel >= 631 then doPlayerSetLevel(cid, 631) doPlayerSendTextMessage(cid,25,"Voce atingiu o Maximo de level.") end return true end Editado Setembro 29, 2015 9 anos por jobsonmb (veja o histórico de edições)
Postado Setembro 29, 2015 9 anos Citar mais toda vez que vou abrir o server ele da erro e nao funciona Poste o erro para que nós o ajude.
Postado Setembro 29, 2015 9 anos Autor A IMAGEM DO ERRO ESTÁ AI, se alguem poder me ajudar Em 29/09/2015 em 16:15, Absolute disse: Ao chegar no level 630 ele continua upando normal? sim ele upa normal Em 29/09/2015 em 17:23, jobsonmb disse: Tenta Essa: Mostrar conteúdo oculto Mostrar conteúdo oculto function onAdvance(cid, skill, oldLevel, newLevel) if getPlayerLevel(cid) >= 631 then doPlayerAddLevel(cid, -1) doPlayerSendTextMessage(cid,25,"Voce atingiu o Maximo de level.") end return true end Se Não Funfa Tenta Essa: Mostrar conteúdo oculto Mostrar conteúdo oculto function onAdvance(cid, skill, oldLevel, newLevel) if oldLevel >= 631 then doPlayerAddLevel(cid, -1) doPlayerSendTextMessage(cid,25,"Voce atingiu o Maximo de level.") end return true end Tabem Tem Essas: Mostrar conteúdo oculto Mostrar conteúdo oculto function onAdvance(cid, skill, oldLevel, newLevel) if getPlayerLevel(cid) >= 631 then doPlayerSetLevel(cid, 631) doPlayerSendTextMessage(cid,25,"Voce atingiu o Maximo de level.") end return true end function onAdvance(cid, skill, oldLevel, newLevel) if oldLevel >= 631 then doPlayerSetLevel(cid, 631) doPlayerSendTextMessage(cid,25,"Voce atingiu o Maximo de level.") end return true end vlw mais nao ajudou, pois ainda continua com o msm erro quando abro o server
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.