Jump to content

Recommended Posts

quest blockunblock begin
    state start begin
        when 9005.chat."Block  unBlock" begin
        if game.get_event_flag("blockunblock") == 1 then
        say("Sua conta se encontra bloqueada, deseja")
        say("Desbloquear ?")
        local s = select("Sim", "Não")
            if s == 1 then
            chat("Sua conta foi desbloquada")
            game.set_event_flag("blockunblock", 0)
            command("/o")
            return
        end -- if
        elseif s == 2 then return end --1º if
        if game.get_event_flag("blockunblock") == 0 then
        say("Sua conta encronta se desbloqueada, deseja")
        say("bloquea-la ? isso lhe dará mais segurança...")
        local ss = select("Sim", "Não")
            if ss == 1 then
            chat("Sua conta foi bloqueada com sucesso!")
            game.set_event_flag("blockunblock", 1)
            command("/o")
        return
    end
        elseif ss == 2 then
    return
    end -- if
end --1º if
end
end
says : command not found

https://metin2.download/picture/07bIA62g9YFf83CILDIaA2knu3k3YGVx/.png

and if the GM and do "/ o" appears and if you click that picture out.

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

quest blockunblock begin
    state start begin
        when 9005.chat."Block  unBlock" begin
        if game.get_event_flag("blockunblock") == 1 then
        say("Sua conta se encontra bloqueada, deseja")
        say("Desbloquear ?")
        local s = select("Sim", "Não")
            if s == 1 then
            chat("Sua conta foi desbloquada")
            game.set_event_flag("blockunblock", 0)
            command("/o")
            return
        end -- if
        elseif s == 2 then return end --1º if
        if game.get_event_flag("blockunblock") == 0 then
        say("Sua conta encronta se desbloqueada, deseja")
        say("bloquea-la ? isso lhe dará mais segurança...")
        local ss = select("Sim", "Não")
            if ss == 1 then
            chat("Sua conta foi bloqueada com sucesso!")
            game.set_event_flag("blockunblock", 1)
            command("/o")
        return
    end
        elseif ss == 2 then
    return
    end -- if
end --1º if
end
end
says : command not found

https://metin2.download/picture/07bIA62g9YFf83CILDIaA2knu3k3YGVx/.png

and if the GM and do "/ o" appears and if you click that picture out.

 

Use pc.setqf instead of game.set_event_flag because the game.set_event_flag it's like a global variable

 

 

 

I read at one post that the command /o is for that,try that

 

/o turn the gm char into watching mode (same as in the watch mode from the guild war)

yes it does do what he want + invisible unable to attack

 

So I guess the /o means /observe right? So you need only one little modification in the source to make it work right?

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

 

quest blockunblock begin
    state start begin
        when 9005.chat."Block  unBlock" begin
        if game.get_event_flag("blockunblock") == 1 then
        say("Sua conta se encontra bloqueada, deseja")
        say("Desbloquear ?")
        local s = select("Sim", "Não")
            if s == 1 then
            chat("Sua conta foi desbloquada")
            game.set_event_flag("blockunblock", 0)
            command("/o")
            return
        end -- if
        elseif s == 2 then return end --1º if
        if game.get_event_flag("blockunblock") == 0 then
        say("Sua conta encronta se desbloqueada, deseja")
        say("bloquea-la ? isso lhe dará mais segurança...")
        local ss = select("Sim", "Não")
            if ss == 1 then
            chat("Sua conta foi bloqueada com sucesso!")
            game.set_event_flag("blockunblock", 1)
            command("/o")
        return
    end
        elseif ss == 2 then
    return
    end -- if
end --1º if
end
end
says : command not found

https://metin2.download/picture/07bIA62g9YFf83CILDIaA2knu3k3YGVx/.png

and if the GM and do "/ o" appears and if you click that picture out.

 

Use pc.setqf instead of game.set_event_flag because the game.set_event_flag it's like a global variable

 

 

 

I read at one post that the command /o is for that,try that

 

/o turn the gm char into watching mode (same as in the watch mode from the guild war)

yes it does do what he want + invisible unable to attack

 

So I guess the /o means /observe right? So you need only one little modification in the source to make it work right?

 

 

i think so

a well done modification should do this but its impossible to edit this commend (i think that you already know this)

cz you will creat by this another work for your self (the quest editing)

so making a new commend will be the solution for this it will be like copy past edit (delete more the edit) and here you are done

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

  • 2 weeks later...

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.