Jump to content

Recommended Posts

Posted

Hola amigos de mz bueno queria saber si me pueden corregir esta quest soy noob en esto de quest:

 

 

quest itematuendo begin   state start begin when 50512.use begin say("Hola Bienvenido a Galhir Of Metin2?")say("Con este sencillo item por ser nuevo")say("te se te dará un atuendo por 1 dia.")say("y el peinado por igualmente 1 dia ")say_reward("Debes elegir tu sexo.")say_reward("Atte:[YC]")local item = select ("Hombre" , "Mujer")if item == 1 thensay("Puedes escojer 1 set de 2")say_reward("Elije tu set")local hombre = select ("Set 1", "Set 2", "Cerrar")if hombre == 1 thenpc.give_item2(41001, 1)pc.give_item2(45001, 1)chat("Has recibido tu atuendo y peinado")item.remove()elseif hombre == 2 thenpc.give_item2(41291, 1)pc.give_item2(45119, 1)chat("Has recibido tu atuendo y peinado")item.remove()elseif hombre == 3 thenreturnendelseif item == 2 thensay("Puedes escojer 1 set de 2")say_reward("Elije tu set")local mujer = select ("Set 1", " Set 1", "Cerrar")if mujer == 1 thenpc_give_item2 (41002, 1)pc_give_item2 (45002, 1)chat("Has recibido tu atuendo y peinado")item.remove()elseif mujer == 2 thenpc_give_item2 (41295, 1)pc_give_item2 (45123, 1)chat("Has recibido tu atuendo y peinado")item.remove()elseif mujer == 3 thenreturnendendend
Posted
quest items_atuendos begin	state start begin		when 50512.use begin			say_title("Hola Bienvenido a Galhir Of Metin2: ")			say("Con este sencillo item por ser nuevo")			say("te se te dará un atuendo por 1 dia,")			say("y el peinado por igualmente 1 dia.")			say_reward("Elije el set que desees.")			local set = select ("Set 1","Set 2")			local item = {				[0] = {41001,45001},				[1] = {41002,45002}			}			local item2 ={				[0] = {41291,45119},				[1] = {41295,45123}			}			if set == 1 then				pc.give_item2(item[pc.get_sex()], 1)				chat("Has recibido exitosamente el set numero 1.")			elseif set == 2 then				pc.give_item2(item2[pc.get_sex()], 1)				chat("Has recibido exitosamente el set numero 2.")			end		end	endend			
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.