Jump to content
  • 0

[Help]Disallowing Donators to Teleport


Question

Posted

Kalimera se olous...

Anaferomai se ayto to topic..

 

http://www.maxcheaters.com/forum/index.php?topic=139787.0

 

Kai thelw na allaxw kati...

me ayto to share apla oi Donators dn mporoun na pane Gludio-Dion

kai an allaxeis ta ID Se alles 2..

Egw thelw na tous kanw genika na min mporoun na xrhshmopoihsoun Gatekeeper..

Dld na min mporoun Na pane pouthena...

 

(Einai gia eidiki periptwsh-opote min rwtate gt thelw na tous kanw na min mporoun na Xrhshmopoihsoun Gatekeeper)

2 answers to this question

Recommended Posts

  • 0
Posted

Index: I:/workspace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2TeleporterInstance.java
===================================================================
--- I:/workspace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2TeleporterInstance.java	(revision 4167)
+++ I:/workspace/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2TeleporterInstance.java	(working copy)
@@ -227,6 +227,11 @@
				player.sendMessage("Go away, you're not welcome here.");
				return;
			}
+			else if (player.isDonator())
+			{
+				player.sendMessage("Donators are not allowed to use GateKeepers.");
+				return;
+			}
			else if (player.isCombatFlagEquipped())
			{
				player.sendMessage("You can't port with a Combat Flag or Territory Ward!");

 

This will disable them from using gatekeepers, as you asked.

Guest
This topic is now closed to further replies.
×
×
  • Create New...