Jump to content

Question

Posted (edited)

[BR]

 

Galera fiz um teletransporte não disponível Teleport vip, só que é o seguinte eu quero que só para para teleportar estando em party (BOM ATE EU EU CONSEGUI FAZER DE BOA)

Mas o X da questão, que eu realmente quero é que apenas o Líder da festa de para teletransportar uma festa e assim teleportando todos juntos, o que eu fiz cada jogador tem que clica sem NPC para poder teleportar, me perguntei HELP ficaria eternamente grato!

 

[ENG]

 

Personal I made a teleport based on the Teleport vip, but that is the following, I want l that only  teleport being in party (good to'e here I was able to do)
But the X of the question, what I really want is that only the Leader of PARTY teleport so, teleporting all together, what I did, each player has to click on the NPC to teleport, help me, I would be eternally grateful!

 

here is my script

 

qn = "7000_VipTeleport"

class Quest (JQuest) :

 def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 def onAdvEvent (self,event,npc,player):
    party = player.getParty()
    if event:
    party = player.getParty()
    if not party: return "no-party.htm"
    if party.getMemberCount() != 3: return "only-two.htm"
    player.teleToLocation(210989, 55033, -14886)
    return "registered.htm"
    return event

 def onTalk (self,npc,player):
   st = player.getQuestState(qn)
   if not st :
      return ""
   return "20712-1.htm"

QUEST       = Quest(-1,qn,"Teleports")
QUEST.addStartNpc(7077)
QUEST.addTalkId(7077)

 

 

 

Edited by legend19

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..