Jump to content
×
×
  • Create New...
  • 0

ring type33


bumxd

Question

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

in source use this code in char_item.cpp

search for

bool CHARACTER::UseItem

then

add in any place

this code :

Spoiler

    if (GetQuestFlag("block_haies_wait_haies.block") > get_global_time() && item->GetVnum() == 10105 && item->GetVnum() == 10104 )
    {
        ChatPacket(CHAT_TYPE_INFO,LC_TEXT("can't use this item now please wait 5 sec !"));
        return false;
    }
    
    if (item->GetVnum() == 10105 && item->GetVnum() == 10104)
        SetQuestFlag("block_haies_wait_haies.block", get_global_time() + 5);

 and compile 

and try

will see the player can't use this item 10105 , 10104 should be wait 5 sec ! 

Link to comment

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

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


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.