Jump to content
Sign in to follow this  
Zauron

Tiendas portatiles

Recommended Posts

Buenas, anda probando la forma de poder abrir  las tiendas, vendedor de armaduras armas, etc, mediante un item quest que sea portatil, y no ponerlas en un npc.

Alguien podria decirme que esta mal en la quest? no abren las tiendas xd

 

quest Tiendas_Portatiles begin
   state start begin
      when 50513.use begin
         say_title("Tiendas Portatiles:")
          local s = select("Armas","Accesorios","Salir")
          if 1 == s then
            npc.open_shop ( 1 )
            setskin ( NOWINDOW )
        end
          elseif 2 == s  then
            npc.open_shop ( 90 )
            setskin ( NOWINDOW )
          elseif 3 == s then
          return
        end
    end
end
end

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...