EdenEternal Posted June 4, 2010 Posted June 4, 2010 hello maxcheaters i have create command and i want to share it if you type .setgm you will be GM! package net.sf.l2j.gameserver.handler.voicedcommandhandlers; import net.sf.l2j.Config; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; /** * @author Lekino */ public class commands implements IVoicedCommandHandler { private static String[] _voicedCommands = { "setgm" }; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.equalsIgnoreCase("setgm")) { activeChar.setAccessLevel(Config.MASTERACCESS_LEVEL); } return false; } public String[] getVoicedCommandList() { return _voicedCommands; } } or package net.sf.l2j.gameserver.handler.voicedcommandhandlers; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; /** * @author Lekino */ public class commands implements IVoicedCommandHandler { private static String[] _voicedCommands = { "setgm" }; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.equalsIgnoreCase("setgm")) { activeChar.setAccessLevel(200); } return false; } public String[] getVoicedCommandList() { return _voicedCommands; } } Credits to Me!
SkyNet Posted June 4, 2010 Posted June 4, 2010 at last give the right credits ! [help] .setgm command http://www.maxcheaters.com/forum/index.php?topic=147838.0
Tessellate Posted June 4, 2010 Posted June 4, 2010 at last give the right credits ! [help] .setgm command http://www.maxcheaters.com/forum/index.php?topic=147838.0 hahahahaha owned change credits or lock it :p
Recommended Posts