antiblock
https://i.imgur.com/aJ17bf7.gif
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
  • 0
ButchGraig

TEMPO ITENS JOGADOS AO CHÃO

Question

Olá amigos.

Como edito o tempo que leva para sumirem os itens jogados ao chão?

Share this post


Link to post
Share on other sites

1 answer to this question

  • 1

Dependendo do game que usas, é pela source, ou então por uma diff...

 

item.h

void		StartDestroyEvent(int iSec=300);

Alteras os 300 segundos (5 minutos) para outro...

 

Para quando é um player a dropar:

 

char_item.cpp:

pkItemToDrop->StartDestroyEvent();

Metes dentro dos parênteses o tempo que queres, em segundos (default, são os 300 segundos (5 minutos))

Share this post


Link to post
Share on other sites
antiblock
Cyphriun

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