Hmmm can some1 code a NPC For me?

02/04/2009 20:40 YuP@MzQ#1
Hmmm can some1 code a NPC what learn the players the lucky time skill
skill 9876 :D thnx.....:handsdown:
02/04/2009 21:20 kinshi88#2
Thats easy, don't be a noob.

Search through the source there are many references for you to code that.. jesus.
02/04/2009 21:51 taylor2846#3
lol
Code:
                            if (CurrentNPC == 666)
                            {
                                SendPacket(General.MyPackets.NPCSay("somting for npc to say here"));
                                SendPacket(General.MyPackets.NPCLink("a link here", 1));
                                SendPacket(General.MyPackets.NPCSetFace(0));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
                            if (CurrentNPC == 666)
                            {
                                if (Control == 1)
                                {
                                  SendPacket(General.MyPackets.NPCSay("do u want to larn the skill *** ??"));
                                  SendPacket(General.MyPackets.NPCLink("yes", 2));
                                  SendPacket(General.MyPackets.NPCLink("no", 255));
                                }
                                if (Control == 2)
                                {
                                  MyChar.LearnSkill(9876, 0);
                                  SendPacket(General.MyPackets.NPCSay("u have larned skill *** xD"));
                                  SendPacket(General.MyPackets.NPCLink("yaaaaa", 255));
                                }

                            }
02/04/2009 22:25 PeTe Ninja#4
taylor why would you give him that?

atleast let him learn, all he has to do is look at the other ones around him

look at the reborn he will find learnskill

and it will be easy, now he will think people will just give him stuff so he wont have to do himself