Jump to content
  • 0

[HELP]Respawn Delay


Question

Posted

hi there, what i should add so players with 88 class will have 5 seconds delay? I mean after 5 secs they press to village to respawn in town....

 

RequestRestartPoint.java

 

if (activeChar.getActiveClass() == 88)

{

          ThreadPoolManager.getInstance().scheduleGeneral(new DeathTask(activeChar), 5000L);

  activeChar.sendMessage("You will respawn in 5 seconds.");

  return;

 

}

new DeathTask(activeChar).run();

 

 

 

Anything i should change? because now i press to village but it just staying on ground and getting message only the message

2 answers to this question

Recommended Posts

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock