- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Komnis
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 Komnis0 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now