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

That's not because you create a new thread than you will have more answers.

 

At best you got this topic locked, at worst you got dekarmed if you continue.

  • 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("_");

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