Exemplo n.º 1
0
 protected override void OnTarget(Mobile from, object targeted)
 {
     if (CanTarget(from, targeted))
     {
         from.SendMessage("You request has been sent, please wait while they reply.");
         PlayerMobile    tosend = (PlayerMobile)targeted;
         Field_Add_Timer tmr    = new Field_Add_Timer((PlayerMobile)from, tosend, Handeling, TeamID);
         Handeling.AddTimer = tmr;
         tosend.SendGump(new FieldSetup_AddParticipant(Handeling, TeamID, Index));
     }
     else
     {
         from.SendGump(new FieldSetup_ParticipantSetup(Handeling, TeamID));
     }
 }
 protected override void OnTarget(Mobile from, object targeted)
 {
     if (CanTarget(from, targeted))
     {
         from.SendMessage("You request has been sent, please wait while they reply.");
         PlayerMobile tosend = (PlayerMobile)targeted;
         Field_Add_Timer tmr = new Field_Add_Timer((PlayerMobile)from, tosend, Handeling, TeamID);
         Handeling.AddTimer = tmr;
         tosend.SendGump(new FieldSetup_AddParticipant(Handeling, TeamID, Index));
     }
     else
         from.SendGump(new FieldSetup_ParticipantSetup(Handeling, TeamID));
 }