in client.cs search for [B]SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You picked up " + TehItem.Money +[B]
then add under that this
so it loks like this:
then when you pick up money, it will come up to the whole server!
:) press thnx if you like it, if not then don't pls put comments, BTW this is an addon for my other guide that it shows up in the corner
then add under that this
Code:
World.SendMsgToAll(MyChar.Name + " has picked up" + TehItem.Money + "Silvers we hope he/she willspend it wisely", "System", 2011);
Code:
{ MyChar.Ready = false; if (MyChar.ItemsInInventory > 39) return; uint ItemUID = (uint)((Data[7] << 24) + (Data[6] << 16) + (Data[5] << 8) + Data[4]); DroppedItem TehItem = null; if (DroppedItems.AllDroppedItems.Contains(ItemUID)) TehItem = (DroppedItem)DroppedItems.AllDroppedItems[ItemUID]; if (TehItem != null) { if (TehItem.Money == 0) { MyChar.AddItem(TehItem.Item, 0, ItemUID); } else { MyChar.Silvers += TehItem.Money; SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers)); SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You picked up " + TehItem.Money + " Silvers. Spend it wisely", 2005)); World.SendMsgToAll(MyChar.Name + " has picked up" + TehItem.Money + "Silvers we hope he/she willspend it wisely", "System", 2011); } DroppedItems.AllDroppedItems.Remove(ItemUID); World.ItemDissappears(TehItem); } MyChar.Ready = true; break; }
:) press thnx if you like it, if not then don't pls put comments, BTW this is an addon for my other guide that it shows up in the corner