here is bro ( if is LOTF source )
Search for
if (CurrentNPC == 1010)
and above it add
Quote:
if (CurrentNPC == 354784)
{
SendPacket(General.MyPackets.NPCSay("Text"));
SendPacket(General.MyPackets.NPCLink("CPS", 1));
SendPacket(General.MyPackets.NPCLink("No money.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
|
them search for: if (CurrentNPC == 1010) again... it must take you to the npc controls....them add it above: if (CurrentNPC == 1010)
Quote:
if (CurrentNPC == 354784)
{
if (MyChar.Silvers >= the ammount u wan't to remove gold from inventory to take cps u wan't to)
{
MyChar.Silvers -= the same value as u put before;
MyChar.CPs += the cpos u wan't to take whith it;
SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
}
}
|
if i'm wrong in something.... post it.... but i tryed and works fine