Jump to content
  • 0

[GR] Gotoclanleader


Question

Posted

Kalimera exo tin exis erotisi.. kai to bazo sto help desktop..

 

loipon skeftomouna stous l2off servers..ston chamberlain sto castle iparxi 1 entoli na pigenis ston clan leader..

 

skeftika..

 

ama paroume tin entoli gotolove kai tin alaxoume sto gotoloclanleader kai meta stin sinexeia dimiourgisoume ena script 8a

eitane gg..

omws to megalo mou problima einai i java :D

 

ti lete genika pws sas fenete san idea?

Recommended Posts

  • 0
Posted

akoma na m fate?

opws leei kai o mafia deite prwta ti ennow kai meta miListe...

dn eipa na paei pisw to karma

an eixa permisions 8a edina kai egw ston forgoten kanei apLa teleia do0leia

apLa rwtisa pioc ekane del ton code

 

 

poios ekane del to code? thelw asap apantisi tora.

  • 0
Posted

diladi to olo 8ema einai pou pige o la8os code apo to desktop?

kai ama bgaloume ton code edw 8a lixi to 8ema apla kai irema kai oloi 8a eimaste mia xara..

xoris kan. na pane ta credits ekei pou prepei..den mporo na katalabo tin oloi ipo8esi tou 8ematos

to karma eitane? o code pou den eprepei na einai edw? i pou prepei na ginei share kai 8a ton kanei autos pou prepei?

katarxas edw ekana to share kai meta arxisa na milaw me ton fogot sto msn.. opou kai apo ekei oloklirose ton code.

(to problima einai pou pige o code epidi ton 8elete) i to karma epidi tou edosa gia help logous)?

  • 0
Posted

diladi to olo 8ema einai pou pige o la8os code apo to desktop?

kai ama bgaloume ton code edw 8a lixi to 8ema apla kai irema kai oloi 8a eimaste mia xara..

xoris kan. na pane ta credits ekei pou prepei..den mporo na katalabo tin oloi ipo8esi tou 8ematos

to karma eitane? o code pou den eprepei na einai edw? i pou prepei na ginei share kai 8a ton kanei autos pou prepei?

katarxas edw ekana to share kai meta arxisa na milaw me ton fogot sto msn.. opou kai apo ekei oloklirose ton code.

(to problima einai pou pige o code epidi ton 8elete) i to karma epidi tou edosa gia help logous)?

 

 

emas rotas?

  • 0
Posted

Code Reshared....

 

package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.L2World;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

/**
*Code Owner - Fogotendx20
*/
public class movetocl implements IVoicedCommandHandler
{
    private static final String[] VOICED_COMMANDS = { "movetoleader" };

    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
    {   
       
        if (command.equalsIgnoreCase("movetoleader"))
        {       
           L2PcInstance leader;
           leader = (L2PcInstance)L2World.getInstance().findObject(activeChar.getClan().getLeaderId());
         
            if(leader.isInJail())
            {
                activeChar.sendMessage("Your Noob Leader is in Jail.. Go Awyay Stiuped.");
                return false;
            }
            else  if (leader.isInDuel())
            {
                activeChar.sendMessage("Your faking leader is in a duel. the loser xD");
                return false;
            }
            else if (leader.inObserverMode())
            {
               activeChar.sendMessage("Your leader watch a match at oly.");
            }
            else if(leader.isInOlympiadMode())
            {
               activeChar.sendMessage("Your Leader is in olympiad");
               return false;
            }
            else if(leader.atEvent)
            {
               activeChar.sendMessage("Your leader is in Event.");
               return false;
              }
            else if(activeChar.isInJail())
            {
                activeChar.sendMessage("What The -beep- you want? You are in Jail... Go Fack You!");
                return false;
            }
            else if(activeChar.isInOlympiadMode())
            {
                activeChar.sendMessage("You are in the Olympiad, xD u will lose xD");
                return false;
            }
            else if(activeChar.atEvent)
            {
                activeChar.sendMessage("You are in an event, np after");
                return false;
            }
            else  if (activeChar.isInDuel())
            {
                activeChar.sendMessage("You are in a duel ^^ leave from duel...!");
                return false;
            }
            else if (activeChar.inObserverMode())
            {
               activeChar.sendMessage("You watch a oly match.");
            }
            else if (activeChar == leader)
            {
                activeChar.sendMessage("W00T? You are the Leader Stiuped, You cant teleport us!");
                return false;
            }
           
               int leaderx;
               int leadery;
               int leaderz;
               
               leaderx = leader.getX();
               leadery = leader.getY();
               leaderz = leader.getZ();
               
               activeChar.teleToLocation(leaderx, leadery, leaderz);
               activeChar.sendMessage("You have teleported to idiot Leader...Hahahaha ^^");
        }
        return true;
    }
    public String[] getVoicedCommandList()
    {
        return VOICED_COMMANDS;
    }

}

Guest
This topic is now closed to further replies.


×
×
  • Create New...