Jump to content
  • 0

[HELP]Drop item time C++ 40k


Destiny

Question

5 answers to this question

Recommended Posts

  • 1

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
  • 1
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
  • 0
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

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


×
×
  • 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.