Dzani1 Posted December 22, 2015 Posted December 22, 2015 TextBuilder tb = new TextBuilder();NpcHtmlMessage html = new NpcHtmlMessage(1);tb.append("<html><head><title>User Control Panel</title></head><body>");tb.append("<center>");tb.append("<td valign=\"top\"><font color=\"FF6600\">Where you start your journey " + activeChar.getName() + ".</font>");tb.append("<button value=\"Castle Town of Giran\" action=\"bypass -h Startup_tele\" width=204 height=20>");tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>");tb.append("</center>");tb.append("</body></html>");html.setHtml(tb.toString());activeChar.sendPacket((L2GameServerPacket)html);} } else if (_command.startsWith("tele")) {activeChar.teleToLocation(83420, 147928, -3399); in startupsystem in last think , i cant teleport nothing happen , any idea?
0 Rootware Posted December 22, 2015 Posted December 22, 2015 } else if (_command.startsWith("Startup_tele")) { Noit work?
0 DrenepiaWorld Posted December 22, 2015 Posted December 22, 2015 TextBuilder tb = new TextBuilder(); NpcHtmlMessage html = new NpcHtmlMessage(1); tb.append("<html><head><title>User Control Panel</title></head><body>"); tb.append("<center>"); tb.append("<td valign=\"top\"><font color=\"FF6600\">Where you start your journey " + activeChar.getName() + ".</font>"); tb.append("<button value=\"Castle Town of Giran\" action=\"bypass -h Startup_tele\" width=204 height=20>"); tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>"); tb.append("</center>"); tb.append("</body></html>"); html.setHtml(tb.toString()); activeChar.sendPacket((L2GameServerPacket)html); } } else if (_command.startsWith("tele")) { activeChar.teleToLocation(83420, 147928, -3399); in startupsystem in last think , i cant teleport nothing happen , any idea? change } else if (_command.startsWith("tele")) { activeChar.teleToLocation(83420, 147928, -3399); to else if (_command.startsWith("tele")) { activeChar.teleToLocation(83420, 147928, -3399, 0); } it works for me
0 Dzani1 Posted December 22, 2015 Author Posted December 22, 2015 change } else if (_command.startsWith("tele")) { activeChar.teleToLocation(83420, 147928, -3399); to else if (_command.startsWith("tele")) { activeChar.teleToLocation(83420, 147928, -3399, 0); } it works for me Tnx worked, lock it
Question
Dzani1
TextBuilder tb = new TextBuilder();
NpcHtmlMessage html = new NpcHtmlMessage(1);
tb.append("<html><head><title>User Control Panel</title></head><body>");
tb.append("<center>");
tb.append("<td valign=\"top\"><font color=\"FF6600\">Where you start your journey " + activeChar.getName() + ".</font>");
tb.append("<button value=\"Castle Town of Giran\" action=\"bypass -h Startup_tele\" width=204 height=20>");
tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>");
tb.append("</center>");
tb.append("</body></html>");
html.setHtml(tb.toString());
activeChar.sendPacket((L2GameServerPacket)html);
}
} else if (_command.startsWith("tele")) {
activeChar.teleToLocation(83420, 147928, -3399);
in startupsystem in last think , i cant teleport nothing happen , any idea?
4 answers to this question
Recommended Posts