////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Create Item From Gm console
////////////////////////////////////////////////////////////////////////////////////////////////////////////
public static byte[] GM_MAKEITEM(byte type, byte Slot, int id, short plus, int durability, int itemid, int bluecount)
{
int msid = Systems.MsSQL.GetDataInt("SELECT id FROM char_items WHERE owner='" + id + "' AND slot = '" + Slot + "'", "id");
Systems.LoadBluesid(msid);
PacketWriter Writer = new PacketWriter();
Writer.Create(Systems.SERVER_ITEM_MOVE);
Writer.Bool(true);
Writer.Byte(6);
Item.AddItemPacket(Writer, Slot, id, (byte)plus, plus, durability, itemid, msid, 0);
return(Writer.GetBytes());
}