Jump to content

Problem with open private shop button


Recommended Posts

Hello guys,  I have a big problem with button of private shop, see this image:

 

output_b8rKfR.gif

 

Quest:

quest international_trade begin
    state start begin        
        when login begin
            cmdchat("shop "..q.getcurrentquestindex())
        end
    
        when button or info begin
            local mapshop = pc.get_map_index()
            if mapshop == 204 then
                cmdchat("OpenPrivateShop")
                command("unmount")
            else
                say_title("Comerþ Internaþional")
                say("")
                say("Vrei sã fii teleportat în piaþã?")
                say("")
            
            local s=select("Da","Nu")
            
                if s==1 then
                    say_title("Comerþ Internaþional")
                    say("")
                    say("Vei fii teleportat în câteva momente ...")
                    say("")
                    wait()
                    pc.warp(2185646, 3684134)

                elseif s==2 then
                    return            
                end
            end            
        end
    end
end

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.