[Help]Fixed Chat Avatars..

12/28/2008 23:58 felipeboladao#1
Hi, help me to fix the Avatar of Chat...

Code:
            if (ChatType == 2001)
            {
                bool Sent = false;
                foreach (DictionaryEntry DE in AllChars)
                {
                    Character Charr = (Character)DE.Value;
                    if (Charr.Name == To)
                    {
                        Charr.MyClient.SendPacket(Data);
                        Sent = true;
                        [COLOR="Red"]Charr.Avatar.ToString();[/COLOR]
                    }

                }
                if (!Sent)
                    Char.MyClient.SendPacket(General.MyPackets.SendMsg(Char.MyClient.MessageId, "SYSTEM", Char.Name, "The character is offline at the moment.", 2000));
            }

        }
Tranks a all for Help.
12/29/2008 00:47 ph03nixx#2
Code:
            if (ChatType == 2001)
            {
                bool Sent = false;
                foreach (DictionaryEntry DE in AllChars)
                {
                    Character Charr = (Character)DE.Value;
                    if (Charr.Name == To)
                    {
                        Charr.MyClient.SendPacket(Data);
                        Sent = true;
                        Charr.Avatar.ToString();
                    }

                }
                if (!Sent)
                    Char.MyClient.SendPacket(General.MyPackets.SendMsg(Char.MyClient.MessageId, "SYSTEM", Char.Name, "The character is offline at the moment.", 2000));
            }
}

im quite noob too but maybe take the point off this: Charr.Avatar.ToString();
and change it into :CharrAvatar.ToString();

i dunno really xD tr it maybe it work
12/29/2008 01:06 felipeboladao#3
Work?
12/29/2008 01:15 ph03nixx#4
i dont know, u try
im looking for a good source then i try it
12/29/2008 01:25 felipeboladao#5
}

im quite noob too but maybe take the point off this: Charr.Avatar.ToString();
and change it into :CharrAvatar.ToString();

i dunno really xD tr it maybe it work

NO WORKING!!