
The NPC shows up on the map but doesn't say anything that im trying to get it to say, can someone help me out?
Trying to get it to sell MoonBoxs so i can stop haveing to changeing the Jobs for those testing stuff out for me on my server.
NPCDialog
NPCs.txtQuote:
case 302030://Promotion
{
if (GC.MyChar.Inventory.Count <= 39)
{
GC.AddSend(Packets.NPCSay("Would you like to buy a MoonBox for 215 CP?"));
GC.AddSend(Packets.NPCLink("Yes.", 2));
GC.AddSend(Packets.NPCLink("No.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 2)
{
GC.MyChar.CPs -= 215;
GC.MyChar.AddSend(Packets.NPCSay("Heres your MoonBox"));
GC.MyChar.AddItem(721080);
GC.AddSend(Packets.NPCLink("Thank you.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
break;
}
#endregion
Quote:
302030 8099 2 28 1004 052 067






