Jump to content
  • 0

Question

Posted (edited)

I am trying to create 2 new commands because they doesn't exist in my server. i am trying to create //reuse_skills so admins can make players don't have reuse on any skill and //party_recall so admin can recall the party of his target even he is not the party leader.

 

i am using l2j and i'm building gracia final.

 

i have made this for party recall

		else if (command.startsWith("admin_party_recall"))
		{
			try
			{
				String targetParty = command.substring(14);
				L2PcInstance party = L2World.getInstance().getPlayer(targetParty);
				
				teleportCharacter(party, activeChar.getX(), activeChar.getY(), activeChar.getZ(), activeChar);
			}
			catch (StringIndexOutOfBoundsException e)
			{
			}
		}

it doesn't say that it is right or wrong but when i write //party_recall nothing happens.

Edited by Komnis

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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