تسجيل الدخول

مشاهدة النسخة كاملة : انبي سي تبديل السبس بي سبس بوند


Hassan Emprator
2019-07-22, 09:03 PM
دا انبي سي تبديل بسبس بي بوند سبس دا لو انت عامل سرفرك البوند سبس ليه لازمه الانبي سي اهو

#region Bound
case 76112371:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello*friend.*I*can*help*you*get BoundCPS from CPS.");
dialog.Input("Insert*amount:", 1, 10);
dialog.Option("No*thank*you.", 255);
break;
}
case 1:
{
uint input;
if (uint.TryParse(npcRequest.Input, out*input))
{
if (input < 1000000)
{
dialog.Text("You*need*to*input*more*or*atleast*1,000,000*CPs..");
dialog.Input("Insert*amount:", 1, 9);
dialog.Option("No*thank*you.", 255);
return;
}
if (client.Entity.ConquerPoints >= input)
{
client.NpcCpsInput = input;
dialog.Text("Are*you*sure*you*want*to*Change*" + input + "*CPs?*That*means*I*will*Give*you*" + (((ulong)input) / 5000) + "*BoundCps.");
dialog.Option("Yes", 2);
dialog.Option("No*thank*you.", 255);
}
else
{
dialog.Text("You*don't*have*that*much*CPs.*Try*again.");
dialog.Input("Insert*amount:", 1, 9);
dialog.Option("No*thank*you.", 255);
}
}
else
{
dialog.Text("Try*again.");
dialog.Input("Insert*amount:", 1, 9);
dialog.Option("No*thank*you.", 255);
}
break;
}
case 2:
{
if (client.Entity.ConquerPoints >= client.NpcCpsInput && client.NpcCpsInput != 0)
{
client.Entity.ConquerPoints -= client.NpcCpsInput;
client.Entity.BoundCps += client.NpcCpsInput / 5000;
client.NpcCpsInput = 0;
}
break;
}
}
break;
}
#endregion

بالتوفيق;)

محمد ياسر
2019-07-22, 09:39 PM
الله ينور

Rider
2019-07-22, 11:19 PM
عاش بس متحطش الان بي سي في البوكر خليه في التون