Jump to content
  • 0

Question

Posted

How To Modife This Script to not use symbol _?

 

in this way it's not working

 

 

public void handleBypass(L2PcInstance activeChar, String command)

{

if(!CustomConfig.AIOITEM_ENABLEME)

return;

 

if(!checkPlayerConditions(activeChar))

return;

 

activeChar.setTarget(activeChar);

 

String[] SubCmd = command.split("_");

 

IAIOItemHandler handler = AIOItemHandler.getInstance().getAIOHandler(SubCmd[1]);

 

if(handler != null)

handler.onBypassUse(activeChar, SubCmd[2]);

}

 

 

Thanks for Help Every Body

3 answers to this question

Recommended Posts

  • 0
Posted

i have a problem and i need help thats all !!!

 

my  error is here and if i can to fix it i dont post anything here ;)

 

public void handleBypass(L2PcInstance activeChar, String command)

  {

      if(!CustomConfig.AIOITEM_ENABLEME)

        return;

     

      if(!checkPlayerConditions(activeChar))

        return;

     

      activeChar.setTarget(activeChar);

     

      String[] SubCmd = command.split("_");

     

      IAIOItemHandler handler = AIOItemHandler.getInstance().getAIOHandler(SubCmd[1]);

     

      if(handler != null)

      handler.onBypassUse(activeChar, SubCmd[2]); 

  } 

  • 0
Posted
How To Modife This Script to not use symbol _?

 

Think:

 

String[] SubCmd = command.split("_");

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