Jump to content
  • 0

help gk teleport


Leon29

Question

How can i make an special gk ( rb teleporter ) with this features ?

 

if (player.getParty() == null)
					htmltext = "36600-03.htm";

				else if (player.getParty().getCommandChannel() == null)
					htmltext = "36600-04.htm";

				else if (player.getParty().getCommandChannel().getLeader() != player)
					htmltext = "36600-05.htm";

				else if (player.getParty().getCommandChannel().getMemberCount() < 18 || player.getParty().getCommandChannel().getMemberCount() > 65)
					htmltext = "36600-06.htm";

 

 

teleport:

for (L2PcInstance channelMember : player.getParty().getCommandChannel().getMembers())
						{
							channelMember.teleToLocation(X, Y, Z);
						}

 

where should i add this ? :-s

 

( And i want to make 7 zones not only one... )

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...