Examples of RadarControl


Examples of net.sf.l2j.gameserver.serverpackets.RadarControl

    public void removeMarker(int x, int y, int z)
    {
        RadarMarker newMarker = new RadarMarker(x, y, z);

        _markers.remove(newMarker);
        _player.sendPacket(new RadarControl(1, 1, x, y, z));
    }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.RadarControl

    public void removeAllMarkers()
    {
        // TODO: Need method to remove all markers from radar at once
        for (RadarMarker tempMarker : _markers)
            _player.sendPacket(new RadarControl(1, tempMarker._type, tempMarker._x, tempMarker._y, tempMarker._z));

        _markers.removeAllElements();
    }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.RadarControl

    final L2PcInstance activeChar = (L2PcInstance)playable;
    final int itemId=item.getItemId();
    if (itemId == 7063 )
    {
      activeChar.sendPacket(new ShowMiniMap(1665));
      activeChar.sendPacket(new RadarControl(0, 1, 51995, -51265, -3104));
    }
    else 
      activeChar.sendPacket(new ShowMiniMap(itemId));
    return;
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.RadarControl

                try
                {
                    L2Spawn spawn = SpawnTable.getInstance().getTemplate(Integer.parseInt(command.substring(12).trim()));
                   
                    if(spawn!=null)
                        player.sendPacket(new RadarControl(0,1,spawn.getLocx(),spawn.getLocy(),spawn.getLocz()));
                } catch (NumberFormatException nfe)
                {
                    player.sendMessage("Wrong command parameters");
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.