محمد ياسر
2019-04-25, 11:31 AM
في كلاس انبي سي ضيف دول
#region Poker
#region GameManager
case 19930:
{
switch (Request.LinkID)
{
case 0:
{
dialog.Text("Hi, I can teleport you to poker room . Where you can enjoy yourself in the Texas Hold'em Poker. Wish you a good luck and good health. For 100 Silvers.");
dialog.Link("Enter Poker Room", 1);
dialog.Link("Enter VIP Hall", 2);
dialog.Link("Not interested.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1858, 56, 64);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1860, 57, 65);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region Poker
case 19941:
case 19951:
{
switch (Request.LinkID)
{
case 0:
{
dialog.Text("Hi, I can teleport you to poker room . Where you can enjoy yourself in the Texas Hold'em Poker. Wish you a good luck and good health. For 100 Silvers.");
dialog.Link("Enter Poker Room", 1);
dialog.Link("Enter VIP Hall", 2);
dialog.Link("Go back to the Market", 3);
dialog.Link("Not interested.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1858, 56, 64);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1860, 57, 65);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
case 3:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1036, 195, 185);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#endregion
#region Poker
#region GameManager
case 19930:
{
switch (Request.LinkID)
{
case 0:
{
dialog.Text("Hi, I can teleport you to poker room . Where you can enjoy yourself in the Texas Hold'em Poker. Wish you a good luck and good health. For 100 Silvers.");
dialog.Link("Enter Poker Room", 1);
dialog.Link("Enter VIP Hall", 2);
dialog.Link("Not interested.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1858, 56, 64);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1860, 57, 65);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region Poker
case 19941:
case 19951:
{
switch (Request.LinkID)
{
case 0:
{
dialog.Text("Hi, I can teleport you to poker room . Where you can enjoy yourself in the Texas Hold'em Poker. Wish you a good luck and good health. For 100 Silvers.");
dialog.Link("Enter Poker Room", 1);
dialog.Link("Enter VIP Hall", 2);
dialog.Link("Go back to the Market", 3);
dialog.Link("Not interested.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1858, 56, 64);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1860, 57, 65);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
case 3:
{
if (client.Entity.Money >= 100)
{
client.Entity.Money -= 100;
client.Entity.Teleport(1036, 195, 185);
}
else
{
dialog.Text("You do not have 100 silvers.");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#endregion