Jump to content

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

quest sztabki begin
    state start begin
        when kill with not npc.is_pc() begin
            local count = math.random(10)
            if count == 10 then
                pc.give_item2(80007, 1)
            end
        end
    end
end

 

That's the quest.

Link to comment
https://metin2.dev/topic/9687-quest-problem/#findComment-58026
Share on other sites

  • Former Staff

Try this quest if you want

quest anOS_kill_system begin
    state start begin
        when kill begin
            if game.get_event_flag("anOS_STAT") == 1 and not npc.is_pc() then
                if math.random(1,50) == 1 then    
                    game.drop_item_with_ownership(299)    
                end
            end
        end
        when 20094.chat." GM : drop system CP " with pc.is_gm() begin
            local STATUS = game.get_event_flag("anOS_STAT")
            say('Welcome to the drop system CP[ENTER]dropsystem is '..({'activated','deactivated'})[STATUS+1])
            if select(({'Activate','Deactivate'})[STATUS+1],'Close') == 2 then return end
            if STATUS == 0 then
                syschat'Drop system has been activated'
                game.set_event_flag("anOS_STAT",1)
            elseif STATUS == 1 then
                syschat'Drop system has been deactivated'
                game.set_event_flag("anOS_STAT",0)
            end
        end
    end
end

 


 
Link to comment
https://metin2.dev/topic/9687-quest-problem/#findComment-58030
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.