Jump to content

Recommended Posts

Posted

*L2WyvernManagerInstance.java

 

Hello , with this simple code you can make all the clan members allowed to spawn wyvern from wyvern manager :)

 

 

Simple enough huh?! Haven't seen it posted anywhere so..

 

First find

 

public void onBypassFeedback(L2PcInstance player, String command)

 

Then just make it

 

{
       if (command.startsWith("RideWyvern"))
       {
       	if (!player.isClanLeader())
       	{
       	
       		
       		return;

 

 

 

Make sure that after that you delete

 

if (!player.isClanLeader())
        	{
        		player.sendMessage("Only clan leaders are allowed.");
        		return;
        	}

 

 

Thanks

 

Posted

A fix :D

if (!player.isClanLeader() && player.isClanLeader())

 

 

@ bump

HBAHAHAHHAHAHAHAHAHAHAHAH

 

sorry xD

 

 

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

Important Information

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