Hey,
Depending on your source this should work, it dont work with TQ Binarys
So place this into NpcSay.
Code:
if (CurrentNPC == 74547)
{
SendPacket(General.MyPackets.NPCSay("I can exchange 2,000,000 silvers into 2,000 cps. Do you want to trade?"));
SendPacket(General.MyPackets.NPCLink("Yes", 1));
SendPacket(General.MyPackets.NPCLink("No", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
Next Place this into NPCDo,
Code:
if (CurrentNPC == 74547)
{
if (Control == 1)
{
if (MyChar.Silvers >= 2000000)
{
MyChar.Silvers -= 2000000;
MyChar.CPs += 2000;
Drop(); //dont need this but i use it to refresh the client
}
}
}
Spawn the npc with UID : 74547
Hope this helped