halo

10/04/2010 22:09 FadMucker#1
hey guys ive just placed an NPC to give halos to the winners of gw/pk etc, it worked but give to you no matter what, i want it to check and just give if youe the winner of the event of gl of the guild etc heres what ive tried but didnt work.
here is the code
Quote:
if (Control == 10)
{
if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner && (GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader))
{

GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeade r);
GC.Message(2005, GC.MyChar.Name + "Has won the Top Guild Leader Halo");

}
else
{
GC.AddSend(Packets.NPCSay("Your not the leader of the winning guild"));
GC.AddSend(Packets.NPCLink("ok."));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
if some1 cud help that wud be great.
10/04/2010 22:44 _Vodka#2
search for my old account .Summer
I think I released one there.
10/05/2010 03:17 Arcо#3
Quote:
Originally Posted by copz1337 View Post
I thought you were a girl lol... or are you?
I thought this thread was about the OP asking for help on an npc.
Get back on topic.
10/05/2010 05:08 hunterman01#4
erm theres a space (*GuildLeade r *) thats what u have 0.0
10/05/2010 11:43 _Vodka#5
Quote:
Originally Posted by hunterman01 View Post
erm theres a space (*GuildLeade r *) thats what u have 0.0
Is because he use quote and not code.