Jump to content

npc transportadora


xKills

Mensajes recomendados

Alguien me puede ayudar con esta quest .. me salta este error :

La Quest es esta :

quest teleport begin	state start begin		when 20088.chat"Teleport" begin			say_title ( "Metin2Eclypse Mapas" )			say_title ( "Transportador:" )			say ( "Buenas joven luchador," )			say ( "hacia donde quieres transportarte?" )			local main_set = select ("Mapa Thunder","Mapa Bay","Mapa Holiwood","Mapa York","Salir")			if main_set == 1 then			if pc.get_level() < 75 then			 say("Lo siento aun no eres lvl 75")			 return			 end				pc.warp ( 10240 , 16640 )			elseif main_set == 2 then			if pc.get_level() < 80 then			 say("Lo siento aun no eres lvl 80")			 return			 end				pc.warp ( 10496 , 15104 )			elseif main_set == 3 then			if pc.get_level() < 90 then			 say("Lo siento aun no eres lvl 90")			 return			 end				pc.warp ( 11776 , 16640 )			elseif main_set == 4 then			if pc.get_level() < 100 then			 say("Lo siento aun no eres lvl 100")			 return			 end				pc.warp ( 11264 , 15104 )			elseif main_set == 5 then					return					end				end			end		end	endend

Les agradeceria su ayuda.

Enlace para comentar
Compartir en otros sitios

Espero mis Thanks y Me Gusta!

quest teleport begin	state start begin		when 20088.chat"Teleport" begin			say_title ( "Metin2Eclypse Mapas" )			say_title ( "Transportador:" )			say ( "Buenas joven luchador," )			say ( "hacia donde quieres transportarte?" )			local main_set = select ("Mapa Thunder","Mapa Bay","Mapa Holiwood","Mapa York","Salir")			if main_set == 1 then				pc.warp ( 10240 , 16640 )								if pc.get_level() < 75 then				say("Lo siento aun no eres lvl 75")				return				end							elseif main_set == 2 then				pc.warp ( 10496 , 15104 )								if pc.get_level() < 80 then				say("Lo siento aun no eres lvl 80")				return				end							elseif main_set == 3 then				pc.warp ( 11776 , 16640 )								if pc.get_level() < 90 then				say("Lo siento aun no eres lvl 90")				return				end							elseif main_set == 4 then				pc.warp ( 11264 , 15104 )								if pc.get_level() < 100 then				say("Lo siento aun no eres lvl 100")				return				end			end		end	endend
Enlace para comentar
Compartir en otros sitios

Para que hay un curso sobre arrays si nadie lo usa >.<

quest teleport begin	state start begin		when 20088.chat"Teleport" begin			say_title ( "Metin2Eclypse Mapas" )			say_title ( "Transportador:" )			say ( "Buenas joven luchador," )			say ( "hacia donde quieres transportarte?" )			local main_set = select ("Mapa Thunder","Mapa Bay","Mapa Holiwood","Mapa York","Salir")		    local cordes = {		    {10240,16640,75},		    {10496,15104,80},		    {11776,16640,90},		    {11264,15104,95}		    }		    if main_set == 5 then return end		    if pc.get_level() < cordes[main_set][3] then		    say("Lo siento aun no eres "..cordes[main_set][3].."")		    return		    end		    pc.warp(cordes[main_set][1],cordes[main_set][2])		    end	 endend
Enlace para comentar
Compartir en otros sitios

Prueba así:

 

quest teleport begin	state start begin		when 20088.chat"Teleport" begin			say_title ( "Metin2Eclypse Mapas" )			say_title ( "Transportador:" )			say ( "Buenas joven luchador," )			say ( "hacia donde quieres transportarte?" )			local main_set = select ("Mapa Thunder","Mapa Bay","Mapa Holiwood","Mapa York","Salir")			local cordes = {			{10240,16640,75},			{10496,15104,80},			{11776,16640,90},			{11264,15104,95}			}			if main_set != 5 then				if pc.get_level() < cordes[main_set][3] then					say("Lo siento aun no eres "..cordes[main_set][3].."")					return				else					pc.warp(cordes[main_set][1],cordes[main_set][2])				end			end		end	endend
Enlace para comentar
Compartir en otros sitios

Ahhhhhhhh ya encontré el error.

 

quest teleport begin	state start begin		when 20088.chat."Teleport" begin			say_title ( "Metin2Eclypse Mapas" )			say_title ( "Transportador:" )			say ( "Buenas joven luchador," )			say ( "hacia donde quieres transportarte?" )			local main_set = select ("Mapa Thunder","Mapa Bay","Mapa Holiwood","Mapa York","Salir")			local cordes = {			{10240,16640,75},			{10496,15104,80},			{11776,16640,90},			{11264,15104,95}			}			if main_set != 5 then				if pc.get_level() < cordes[main_set][3] then					say("Lo siento aun no eres "..cordes[main_set][3].."")					return				else					pc.warp(cordes[main_set][1],cordes[main_set][2])				end			end		end	endend
Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...