Jump to content
  • 0

[Question] Disable Trade for GM-s


Question

Recommended Posts

  • 0
Posted

u alredy have it on l2jserver god freaking damn it READ THE FREAKING RULES! specify the client version and pack that ur using >.> omfg T_T

  • 0
Posted

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!

  • 0
Posted

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;
          }

:)

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock