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

hmmm.....very nice topic dude ! thanks 4 share it !

offtopic:[GR]ti egine kai teleutea me ta share kai me auta? asxolisei me java? :O

Posted

A fix :D

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

 

 

@ bump

HBAHAHAHHAHAHAHAHAHAHAHAH

 

sorry xD

 

 

Posted

A fix :D

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

 

 

Well, what this is supposed to do ? To check if player isn't clan leader and player is clan leader ?

???

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