عرض مشاركة واحدة
احصائياتى

الردود
3

المشاهدات
890
 
Hazem
.:: المدير العام::.

    غير متواجد

المشاركات
2,362

+التقييم
0.85

تاريخ التسجيل
Apr 2019

الاقامة
Egypt

نظام التشغيل
windows 7

رقم العضوية
1
2019-04-25, 11:31 AM
المشاركة 1
2019-04-25, 11:31 AM
المشاركة 1
افتراضي ان بى سى يدخلك البوكر

في كلاس انبي سي ضيف دول

كود:
#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