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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

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



×
×
  • Create New...