Skip to content

Hello, I Am Really Stucked On This.

Featured Replies

i want people not to restart near npcs 

if (player != null && player.isInsideRadius(player, L2NpcInstance.getInteractionDistance(), false, false)) <--- wtf i am doing

        {

            player.sendMessage("You cannot restart near this NPC.");

            sendPacket(RestartResponse.valueOf(false));

            return;

        }

but it doesnt work, what i do wrong? xD

Edited by Ayami-

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.