Jump to content

Duracion de objetos del suelo en desaparecer(c++)


Kenshi Torres
 Share

Recommended Posts

Dare un pequeño aporte que encontre espero que les sirva 

El tiempo de desaparición de los artículos caídos del suelo;

İtem.h

 

void        StartDestroyEvent(int iSec=300);


Nick tiempo de desaparición del artículo cuando cortas mobs;
item.h

void        SetOwnership(LPCHARACTER ch, int iSec = 10);

El tiempo que tarda un elemento en desaparecer;
char_item.cpp

 

Buscar;
pkItemToDrop->StartDestroyEvent();

Remplazar;

pkItemToDrop->StartDestroyEvent(3);
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...