NPC Codin

09/01/2009 18:04 -Shunsui-#1
Ok Idk but this NPC wount Work For some reason if its my code or idk Can Anyone Find a Error In IT?

Code:
                                if (CurrentNPC == 1048)
                                {
                                    if (Control == 1)
                                    {
                                        if (MyChar.Silvers >= 1000000)
                                        {
                                            MyChar.Silvers -= 1000000;
                                            MyChar.CPs += 20;
                                        }
                                    }
                                }
Hes Suppost To Trade Money for 20 Cps Idk but for some reason hes action wount work hmm?
09/01/2009 18:17 damianpesta#2
Send the packet for Silvers and cps after ...

Code:
                                if (CurrentNPC == 1048)
                                {
                                    if (Control == 1)
                                    {
                                        if (MyChar.Silvers >= 1000000)
                                        {
                                            MyChar.Silvers -= 1000000;
                                            MyChar.CPs += 20;
silvers packet
cps packet
                                        }
                                    }
                                }
09/01/2009 18:35 -Shunsui-#3
#Close Fixed Problem Friend Helped me,
09/01/2009 20:27 kinshi88#4
#Closed