Jump to content

Recommended Posts

char_item.cpp and search:

ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¶łľîÁř ľĆŔĚĹŰŔş 3şĐ ČÄ »ç¶óÁý´Ď´Ů."));
pkItemToDrop->StartDestroyEvent();

 

so example if want when you drop item, disapear in 5 sec put like this:

 

ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¶łľîÁř ľĆŔĚĹŰŔş 3şĐ ČÄ »ç¶óÁý´Ď´Ů."));
pkItemToDrop->StartDestroyEvent(5);

Link to comment
https://metin2.dev/topic/4129-helpdrop-item-time-c-40k/#findComment-26479
Share on other sites

  • 6 years later...
  • Contributor
9 hours ago, SDlongju2 said:

not working for me, maybe any solution 2021 ?

It should work i'm sure, but you can modify it too in: item.h: StartDestroyEvent(int iSec=300); 

Note that it is applied to everything, including monsters. That's why Tacticus said to edit in char_item, because that only applied to players.

Edited by TMP4
  • Love 1
Link to comment
https://metin2.dev/topic/4129-helpdrop-item-time-c-40k/#findComment-141311
Share on other sites

8 hours ago, TMP4 said:

It should work i'm sure, but you can modify it too in: item.h: StartDestroyEvent(int iSec=300); 

Note that it is applied to everything, including monsters. That's why Tacticus said to edit in char_item, because that only applied to players.

it was the marty code so it have another line thats says if NEWSTUFETCETC THEN > 300 ELSE > normal 30 sec, su this 30 sec will never work i dint see it

  • Love 1
Link to comment
https://metin2.dev/topic/4129-helpdrop-item-time-c-40k/#findComment-141323
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.