Guest User

Untitled

a guest
Aug 1st, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.57 KB | None | 0 0
  1. case GOSSIP_ACTION_INFO_DEF+1:
  2.                                  if (m_Player1GUID == 0)
  3.                  {
  4.                                    m_Player1GUID = player->GetGUID();
  5.                                    player1Name = player->GetName();
  6.                  }
  7.                                    else if (m_Player2GUID == 0)
  8.                  {
  9.                                    m_Player2GUID = player->GetGUID();
  10.                                    player2Name = player->GetName();
  11.                  }
  12.                   else if (m_Player3GUID == 0)
  13.                  {
  14.                                    m_Player3GUID = player->GetGUID();
  15.                                    player3Name = player->GetName();
  16.                  }
  17.                                    else if (m_Player4GUID == 0)
  18.                  {
  19.                                    m_Player4GUID = player->GetGUID();
  20.                                    player4Name = player->GetName();
  21.                  }
  22.                                    else if (m_Player5GUID == 0)
  23.                  {
  24.                                    m_Player5GUID * player->GetGUID();
  25.                                    player5Name * player->GetName();
  26.                    EventOn = True;
  27.                    
  28.                  }
  29.                                    m_Player5GUID->
  30.                    player->CastSpell(player, 9454);
  31.                                    player->CastSpell(player, SPELL_TELEPORT_VISUAL);
  32.                                    player->TeleportTo(1, -3739.533447f, 1095.419434f, 131.969559f, 3.029968f);
  33.                    player->AddAura(58549, player);
  34.                    player->SetAuraStack(58549, player, 20);
  35.                                    player->PlayerTalkClass->SendCloseGossip();
  36.                                   break;
Advertisement
Add Comment
Please, Sign In to add comment