antiblock
https://arwen2.global/
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
єxŧєrмiηαŧєr

Ajuda Numa Quest

Question

Alguem me podia ajudar nesta quest

 

 

quest npc begin
state start begin
when 30122.chat."Canjear mis logros" begin
say_title("Canjear mis logros")
say("")
say("Hola jugador, si tienes logros")
say("yo te los puedo cambiar por cositas.")
say("")
say("Si no tienes intenta conseguir alguno")
say("porque merece la pena")
say("")
say_reward("Quieres canjear tus punots?")
local canje = select ("Si" , "No")
if canje == 1 then
say_title("Canjes de logros")
say("")
say("Elige lo que quieras")
local elegir = select ("Quinto bonus - 3 logros" , "Añadir 6-7 bonus - 4 logros" , "Cambiar 6-7 bonus - 5 logros" , "Caballo armado - 6 logros" , "Caballo militar - 8 logros" , "Cerrar")
if elegir == 1 then
if pc . getqf ( "achievement_points" ) <= 2 then
chat( "Lo siento necesitas mas puntos" )
return
end
pc.give_item2("70024", 1)
local actual_achievement_points = pc . getqf ( "achievement_points" )
pc . setqf ( "achievement_points" , actual_achievement_points - 3 )
return
elseif elegir == 2 then
if pc . getqf ( "achievement_points" ) <= 3 then
chat( "Lo siento necesitas mas puntos" )
return
end
pc.give_item2("71051", 1)
local actual_achievement_points = pc . getqf ( "achievement_points" )
pc . setqf ( "achievement_points" , actual_achievement_points - 4 )
return
elseif elegir == 3 then
if pc . getqf ( "achievement_points" ) <= 4 then
say ( "Lo siento necesitas mas puntos" )
return
end
pc.give_item2("71052", 1)
local actual_achievement_points = pc . getqf ( "achievement_points" )
pc . setqf ( "achievement_points" , actual_achievement_points - 5 )
return
elseif elegir == 4 then
if pc . getqf ( "achievement_points" ) <= 5 then
chat( "Lo siento necesitas mas puntos" )
return
end
local actual_achievement_points = pc . getqf ( "achievement_points" )
pc . setqf ( "achievement_points" , actual_achievement_points - 6 )
chat ( "Has recibido un caballo armado" )
horse . set_level ( "11" )
horse . unsummon ( )
horse . summon ( )
pc . give_item2 ( "50052" , 1 )
return
end
 
elseif elegir == 5 then
elseif p == 2 then
if pc . getqf ( "achievement_points" ) < = 7 then
say ( "Lo siento necesitas mas puntos" )
return
end
local actual_achievement_points = pc . getqf ( "achievement_points" )
pc . setqf ( "achievement_points" , actual_achievement_points - 8 )
chat( "Has recibido un caballo militar" )
horse . set_level ( "21" )
horse . unsummon ( )
horse . summon ( )
pc . give_item2 ( "50053" , 1 )
return
elseif elegir == 6 then
return
end
elseif canje == 2 then
return
 
end
end
end
 
 
o que me aparece na maquina 

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

O erro é na lina 59 , penso que é um end a mais ou falta 1 end 

Share this post


Link to post
Share on other sites
antiblock
https://i.imgur.com/aJ17bf7.gif

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this