Jump to content
  • 0

[Question] Disable Trade for GM-s


EdenEternal

Question

Recommended Posts

  • 0

if(player.isGM())
	{
		player.sendMessage("You cant Trade  Item")
		player.sendPacket(ActionFailed.STATIC_PACKET);
		return;
	}

this is working only for me (GM) i can't give trade to normal players but they can!

Link to comment
Share on other sites

  • 0

i have do this :)

 

	// Disable Normal Players Trade to GM
if (partner.isGM())
          {
              player.sendMessage("You Can't Trade With GM!");
              sendPacket(new ActionFailed());
              return;
          }

:)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...