Postado Setembro 29, 2015 10 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 10 anos Ao chegar no level 630 ele continua upando normal? Entenda tudo sobre VPS, DEDICADOS & HOSPEDAGENS. => Clique aqui Global Full Download 10.9x - TFS 1.2/FERUMBRAS/KRAILOS. => Clique aqui Muitos querem aquilo que você tem, mas vão desistir quando souberem o preço que você pagou. lu.lukinha [email protected]
Postado Setembro 29, 2015 10 anos Tenta Essa: 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: 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: 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 10 anos por jobsonmb (veja o histórico de edições) Que Ajuda? Me Contate. Sou: Programador Script Mapper WebMaster WebDesigner E Muito Mais Você tem o direito de falar o que pensaMas não tem o direito de julgar quem não conheceLiberdade de expressão é um direito de todosMas em vez de falar, então faça algo que preste ~Charlie Brown Jr
Postado Setembro 29, 2015 10 anos mais toda vez que vou abrir o server ele da erro e nao funciona Poste o erro para que nós o ajude. I must not fear. Fear is the mind killer.
Postado Setembro 29, 2015 10 anos Autor A IMAGEM DO ERRO ESTÁ AI, se alguem poder me ajudar Ao chegar no level 630 ele continua upando normal? sim ele upa normal Tenta Essa: 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: 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: 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.