[HELP]PeachFairy

03/22/2009 23:15 thiago105#1
hou make it NPC to trade GOLD for CPS???:confused:


Sry bad inglish!^^
03/23/2009 04:46 Incariuz#2
This is just an example without an NPC. I hope it makes sense to you.

Code:
                                if (MyChar.Silvers >= 100000)
                                {
                                    MyChar.CPs += 10;
                                    SendPacket(General.MyPackets.Vital(MyChar.UID, 30, CPs));
                                    MyChar.Silvers -= 100000;
                                    SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
                                }
That checks to see if you have 100000 Silvers, and if you do, it gives you 10 CP then takes away the silvers.
03/23/2009 13:56 thiago105#3
it is to TQ Binaries!!
03/23/2009 14:02 rider1992#4
@thiago105 ur very unfriendly i think no one will tell u how to make this npc

(i dont know it too)
03/23/2009 15:04 thiago105#5
sorry, I need more of this NPC with emergency PLS!!
ty all