Jump to content
  • 0

Hello, I Am Really Stucked On This.


Question

Posted (edited)

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-

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...