VideoCopilot Posted March 12, 2015 Posted March 12, 2015 Hello i made this public static String stats(final L2PcInstance player) { final TextBuilder tb = new TextBuilder(); tb.append("<html><title>Casino Manager</title><body>"); tb.append("<center>"); tb.append("<center>"); tb.append("Place your bets"); tb.append("</tr>"); tb.append("</center>"); tb.append("<center><img src=\"L2UI.SquareGray\" width=\"280\" height=\"1\">"); tb.append("</body></html>"); player.sendPacket(ActionFailed.STATIC_PACKET); return tb.toString(); } i call it but when i call it no html come up >.> the rest code work exept this
0 vampir Posted March 12, 2015 Posted March 12, 2015 What do you have near that method call? It should be something like that: NpcHtmlMessage msg = new NpcHtmlMessage(0); msg.setHtml(stats(player)); player.sendPacket(msg);
0 VideoCopilot Posted March 12, 2015 Author Posted March 12, 2015 What do you have near that method call? It should be something like that: NpcHtmlMessage msg = new NpcHtmlMessage(0); msg.setHtml(stats(player)); player.sendPacket(msg); sec sir imma try
0 VideoCopilot Posted March 12, 2015 Author Posted March 12, 2015 Thank you sir it worked <3 you sexy
Question
VideoCopilot
Hello i made this
3 answers to this question
Recommended Posts