Jump to content

Question

Posted

boolean unstuckActive = false;

 

        for (L2Effect effect : activeChar.getAllEffects())

     

        {

     

        switch (effect.getEffectType())

     

        {

 

        case unstuck:

     

        {

       

        unstuckActive = true;

     

        break;

       

        }

       

        }

       

        if (unstuckActive)

       

        {

       

        SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_CANT_RESTART_WHILE_UNSTUCKING);

       

        activeChar.sendPacket(sm);

       

        activeChar.sendPacket(ActionFailed.STATIC_PACKET);

       

        return false;

       

        }

       

        }

       

 

 

dn mporeis na kaneis rr otan kaneis soe...

 

eimai new kai 8a i8ela na mou peite an to exw kanei swsta... thx :P

5 answers to this question

Recommended Posts

  • 0
Posted

gt den to kaneis para poli apla sto requestrestart.java kai na valeis

 

if (activeChar.isCastingNow())
{
activeChar.sendMessage("You cant restart while using skills");
return;
}

 

 

Doulevei afou sto castingnow ine kai i methodos ton soe klp

  • 0
Posted

gt den to kaneis para poli apla sto requestrestart.java kai na valeis

 

if (activeChar.isCastingNow())
{
activeChar.sendMessage("You cant restart while using skills");
return;
}

 

 

Doulevei afou sto castingnow ine kai i methodos ton soe klp

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