I create my commands
I have problem here:
Code:
ushort _screen;
_screen = ushort.Parse(Data[1]); client.Entity.AddFlag(Network.GamePackets.Update.Flags.[COLOR="Red"]([/COLOR]uint.Parse(Data[1])));
and in this npc have error:
Code:
case 1:
{
if (client.Inventory.Contains(711214, 1) && client.Inventory.Contains(711215, 1) && client.Inventory.Contains(711216, 1) && client.Inventory.Contains(711217, 1) && client.Inventory.Contains(711218, 1) && client.Inventory.Contains(711219, 1) && client.Inventory.Contains(711220, 1))
{
client.Inventory.Remove(711214, 1);
client.Inventory.Remove(721255, 1);
client.Inventory.Remove(721256, 1);
client.Inventory.Remove(721257, 1);
client.Inventory.Remove(721258, 1);
client.Inventory.Remove(721259, 1);
client.Inventory.Remove(721220, 1);
dialog.Text("Good select you prize gratz");
dialog.Option("Stone +5!.", 3);
dialog.Option("SandRaider Garment!.", 4);
dialog.Option("PenitenceAmulet!.", 5);
dialog.Option("Item Super!.", 6);
dialog.Send();
break;
}
else
{
dialog.Text("You no have the letters C O N Q U E R!");
dialog.Option("OK ty!.", 255);
dialog.Send();
break;
}
}
ty






