Postado Novembro 26, 2014 10 anos Olá pessoal, tenho esse script no meu servidor, mais acho que ele eh um pouco antigo, so pelo formato dele. E outro problema, o player upa qualquer skills 100 sendo (level/sword/axe/club/distance/shield/magic) talz, ele toma teleport. Queria que isso fosse só LEVEL segue o scripts function onAdvance(cid, skill, oldlevel, newlevel) local position = { x = 32288, y = 32337, z = 15 } local skill = SKILL__LEVEL if newlevel == 100 then doTeleportThing(cid, position, 0) end return TRUE end
Postado Novembro 27, 2014 10 anos function onAdvance(cid, skill, oldlevel, newlevel) local position = { x = 32288, y = 32337, z = 15 } local skill = SKILL__LEVEL if newlevel.skill == 100 then doTeleportThing(cid, position, 0) end return true end
Postado Novembro 27, 2014 10 anos Solução function onAdvance(cid, skill, oldLevel, newLevel) local pos = {x=32288, y=32337, z=15} if skill == SKILL__LEVEL and newLevel == 100 then doTeleportThing(cid, pos) end return true end The corrupt fear us. The honest support us. The heroic join us.
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.