Jump to content

Recommended Posts

Posted

Hola será que alguien me pueda hacer una quest sencilla que se le ponga a un item X y al darle click diga un texto "Welcome to Metin2 Select Your Country"  y se ponga una lista de países ejemplo:

México

Colombia

Perú

Uruguay

España

Argentina

etc.

y que al seleccionarlo te de un item y desaparezca después.

estaba haciendo tratando de hacerla pero me quedo así y me da core dump

 

y como se podría hacer para que detecte el género.

quest select_country begin        state start begin                when 50096.use                        say_tittle ("Selecciona tu País:")                        say("Hola ".. pc.get_name() .."")                        say("Por nuestra inauguración estamos de fiesta.....")                        say("Si amas a tu país esto es para tí")                        say("Escoge tu país;")                         local main_set = select ("México","España","Colombia","Ahora No")                        if main_set == 1 then                                pc.give_item2 ("41374" , 1)                                chat("Ve a lucir tu patria.")                                item.remove()                        elseif main_set == 2 then                                pc.give_item2 ("41384" , 1)                                chat("Ve a lucir tu patria.")                                item.remove()                        elseif main_set == 3 then                                pc.give_item2 ("41344" , 1)                                chat("Ve a lucir tu patria.")                                item.remove()                                end                        elseif main_set == 4 then                             return                        end                end         end
Posted
quest a begin	state start begin		when xxx.use begin					say""			say""			say""			local s = select("España","Alemania","Mexico","Salir")			if s == 1 then				pc.give_item2(xxx)				item.remove()				return			elseif s == 2 then				pc.give_item2(xxx)				item.remove()				return			elseif s == 3 then				pc.give_item2(xxx)				item.remove()				return			end		end	endend

PD: Tu error está en:

Posted
                        elseif main_set == 3 then                                pc.give_item2 ("41344" , 1)                                chat("Ve a lucir tu patria.")                                item.remove()                                end ------------------aqui el error                        elseif main_set == 4 then                             return                        end                end         end
Posted
quest a begin	state start begin		when xxx.use begin					say""			say""			say""			local s = select("España","Alemania","Mexico","Salir")			if s == 1 then				pc.give_item2(xxx)				item.remove()				return			elseif s == 2 then				pc.give_item2(xxx)				item.remove()				return			elseif s == 3 then				pc.give_item2(xxx)				item.remove()				return			end		end	endend

PD: Tu error está en: 

Gracias pff es mucho menos código y una pregunta para que detecte el género es job=?

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.