Jump to content
  • 0

Hello, I Am Really Stucked On This.


Ayami-

Question

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-
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...