[Help] /mana command

09/13/2008 19:11 reborn666#1
heyaa someone know what is wrong here...
if (Message == "/mana")
{
MyChar.CurMP = MyChar.MaxMP;
SendPacket(General.MyPackets.Vital((long)MyChar.UI D, 2, MyChar.CurMP));
}
:confused:
i'm using PowerSource CO
09/13/2008 19:14 keving#2
Try that 1 pls
Code:
if ([Splitter[0] == "/mana")
                                    {
                                        MyChar.CurMP = MyChar.MaxMP;
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 2, MyChar.CurMP));
                                    }
If not work idk sry :(
09/13/2008 19:24 reborn666#3
i got error with "CurMP" and "MaxMP"
09/13/2008 19:49 tao4229#4
Quote:
Originally Posted by reborn666 View Post
i got error with "CurMP" and "MaxMP"
Do the variables exist? >_>