Jump to content
  • 0

.online Command problem


Question

Posted

pernao auto to code. http://www.maxcheaters.com/forum/index.php?topic=122994.0 ola mia xara mono p m bgazei ena error p dn ksero pos na to antimetopiso

 

/* This program is free software; you can redistribute it and/or modify */

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;

 

/**

*

* @author

*

* this class...

* shows the amount of online players to any1 who calls it.

*/

public class Online implements IVoicedCommandHandler

{

 

 

private static final String[] VOICED_COMMANDS = { "online" };

 

public boolean useVoicedCommand(String command, L2PcInstance player, String target)

{

if (command.equalsIgnoreCase("online"))

{

player.sendMessage("======<Online Players>======");

player.sendMessage("There are "+L2World.getInstance().getAllPlayers().size()+" players online");

player.sendMessage("=======================");

}return true;

 

}

 

 

 

public String[] getVoicedCommandList()

{

  return VOICED_COMMANDS;

}

}

 

me sigxoreite p to bazo etsi xoris photo alla to site p kano upload ts photo dn ts anebazei

public class Online implements IVoicedCommandHandler

se auto to simeio m bgazei error. to online einai me mia kokini grami apo kato.

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...