احصائياتى

الردود
3

المشاهدات
423
 
mohamedomar
.:: عضو مميز ::.
الإجابات المقدمة: 21

المشاركات
325

+التقييم
0.13

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

الاقامة

نظام التشغيل
Windows 10

رقم العضوية
3266
2020-01-24, 08:52 PM
المشاركة 1
2020-01-24, 08:52 PM
المشاركة 1
cafee تمت الإجابة انبي سي
عاوز انزل انبي سي دونيش
يعني اتبرع منو وارفع كينج او برنس وكدا ؟
رينك


أفضل جواب - كتبه Hassan Emprator
اىفضل اهو


كود:
#region Nobility
                
case 7611237:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hello friend. I can help you get on the top faster! Instead of donating gold, you can give me your cps and I will automatically do the hard work for you. The exchange ratio is 1:1. That means you give me 1 CPs, I donate for you 50000 gold. The minimum amount is 1,000,000 CPs.");
                                    
dialog.Input("Insert amount:", 1, 10);
                                    
dialog.Option("No thank you.", 255);
                                    
dialog.Avatar(48);
                                    break;
                                }
                            case 
1:
                                {
                                    
uint input;
                                    if (
uint.TryParse(npcRequest.Input, out input))
                                    {
                                        if (
input < 1000)
                                        {
                                            
dialog.Text("You need to input more or atleast 6,000,000 CPs..");
                                            
dialog.Input("Insert amount:", 1, 9);
                                            
dialog.Option("No thank you.", 255);
                                            
dialog.Avatar(48);
                                            return;
                                        }
                                        if (
client.Entity.ConquerPoints >= input)
                                        {
                                            
client.NpcCpsInput = input;
                                            
dialog.Text("Are you sure you want to donate " + input + " CPs? That means I will donate for you " + (((ulong)input) * 1ul) + " gold.");
                                            
dialog.Option("Yes", 2);
                                            
dialog.Option("No thank you.", 255);
                                            
dialog.Avatar(48);
                                        }
                                        else
                                        {
                                            
dialog.Text("You don't have that much CPs. Try again. \nThe exchange ratio is 1:1. That means you give me 1 CPs, I donate for you 1 gold. The minimum amount is 1,000,000 CPs.");
                                            
dialog.Input("Insert amount:", 1, 9);
                                            
dialog.Option("No thank you.", 255);
                                            
dialog.Avatar(48);
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Try again. \nThe exchange ratio is 1:1. That means you give me 1 CPs, I donate for you 1 gold. The minimum amount is 1,000,000 CPs.");
                                        
dialog.Input("Insert amount:", 1, 9);
                                        
dialog.Option("No thank you.", 255);
                                        
dialog.Avatar(48);
                                    }
                                    break;
                                }
                            case 
2:
                                {
                                    if (
client.Entity.ConquerPoints >= client.NpcCpsInput && client.NpcCpsInput != 0)
                                    {
                                        
client.Entity.ConquerPoints -= client.NpcCpsInput;
                                        
Game.ConquerStructures.Nobility.Donate((ulong)client.NpcCpsInput, client);
                                        
client.NpcCpsInput = 0;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

ولو عايز تخلي انو هوا يبدا يدفع سيبي من اول رقم كذا هتعمله من هنا


كود:
if (input < 1000) 

قديم 2020-01-24, 09:42 PM
المشاركة 2
Hassan Emprator
.:: مشرف قسم المشاكل ::.
الإجابات المقدمة: 301
  • غير متواجد
افتراضي رد: انبي سي
اىفضل اهو


كود:
#region Nobility
                
case 7611237:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hello friend. I can help you get on the top faster! Instead of donating gold, you can give me your cps and I will automatically do the hard work for you. The exchange ratio is 1:1. That means you give me 1 CPs, I donate for you 50000 gold. The minimum amount is 1,000,000 CPs.");
                                    
dialog.Input("Insert amount:", 1, 10);
                                    
dialog.Option("No thank you.", 255);
                                    
dialog.Avatar(48);
                                    break;
                                }
                            case 
1:
                                {
                                    
uint input;
                                    if (
uint.TryParse(npcRequest.Input, out input))
                                    {
                                        if (
input < 1000)
                                        {
                                            
dialog.Text("You need to input more or atleast 6,000,000 CPs..");
                                            
dialog.Input("Insert amount:", 1, 9);
                                            
dialog.Option("No thank you.", 255);
                                            
dialog.Avatar(48);
                                            return;
                                        }
                                        if (
client.Entity.ConquerPoints >= input)
                                        {
                                            
client.NpcCpsInput = input;
                                            
dialog.Text("Are you sure you want to donate " + input + " CPs? That means I will donate for you " + (((ulong)input) * 1ul) + " gold.");
                                            
dialog.Option("Yes", 2);
                                            
dialog.Option("No thank you.", 255);
                                            
dialog.Avatar(48);
                                        }
                                        else
                                        {
                                            
dialog.Text("You don't have that much CPs. Try again. \nThe exchange ratio is 1:1. That means you give me 1 CPs, I donate for you 1 gold. The minimum amount is 1,000,000 CPs.");
                                            
dialog.Input("Insert amount:", 1, 9);
                                            
dialog.Option("No thank you.", 255);
                                            
dialog.Avatar(48);
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Try again. \nThe exchange ratio is 1:1. That means you give me 1 CPs, I donate for you 1 gold. The minimum amount is 1,000,000 CPs.");
                                        
dialog.Input("Insert amount:", 1, 9);
                                        
dialog.Option("No thank you.", 255);
                                        
dialog.Avatar(48);
                                    }
                                    break;
                                }
                            case 
2:
                                {
                                    if (
client.Entity.ConquerPoints >= client.NpcCpsInput && client.NpcCpsInput != 0)
                                    {
                                        
client.Entity.ConquerPoints -= client.NpcCpsInput;
                                        
Game.ConquerStructures.Nobility.Donate((ulong)client.NpcCpsInput, client);
                                        
client.NpcCpsInput = 0;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

ولو عايز تخلي انو هوا يبدا يدفع سيبي من اول رقم كذا هتعمله من هنا


كود:
if (input < 1000) 


قديم 2020-01-24, 10:08 PM
المشاركة 3
mohamedomar
.:: عضو مميز ::.
الإجابات المقدمة: 21
  • غير متواجد
افتراضي رد: انبي سي
اىفضل اهو


كود:
#region nobility
                
case 7611237:
                    {
                        switch (
npcrequest.optionid)
                        {
                            case 
0:
                                {
                                    
dialog.text("hello friend. I can help you get on the top faster! Instead of donating gold, you can give me your cps and i will automatically do the hard work for you. The exchange ratio is 1:1. That means you give me 1 cps, i donate for you 50000 gold. The minimum amount is 1,000,000 cps.");
                                    
dialog.input("insert amount:", 1, 10);
                                    
dialog.option("no thank you.", 255);
                                    
dialog.avatar(48);
                                    break;
                                }
                            case 
1:
                                {
                                    
uint input;
                                    if (
uint.tryparse(npcrequest.input, out input))
                                    {
                                        if (
input < 1000)
                                        {
                                            
dialog.text("you need to input more or atleast 6,000,000 cps..");
                                            
dialog.input("insert amount:", 1, 9);
                                            
dialog.option("no thank you.", 255);
                                            
dialog.avatar(48);
                                            return;
                                        }
                                        if (
client.entity.conquerpoints >= input)
                                        {
                                            
client.npccpsinput = input;
                                            
dialog.text("are you sure you want to donate " + input + " cps? That means i will donate for you " + (((ulong)input) * 1ul) + " gold.");
                                            
dialog.option("yes", 2);
                                            
dialog.option("no thank you.", 255);
                                            
dialog.avatar(48);
                                        }
                                        else
                                        {
                                            
dialog.text("you don't have that much cps. Try again. \nthe exchange ratio is 1:1. That means you give me 1 cps, i donate for you 1 gold. The minimum amount is 1,000,000 cps.");
                                            
dialog.input("insert amount:", 1, 9);
                                            
dialog.option("no thank you.", 255);
                                            
dialog.avatar(48);
                                        }
                                    }
                                    else
                                    {
                                        
dialog.text("try again. \nthe exchange ratio is 1:1. That means you give me 1 cps, i donate for you 1 gold. The minimum amount is 1,000,000 cps.");
                                        
dialog.input("insert amount:", 1, 9);
                                        
dialog.option("no thank you.", 255);
                                        
dialog.avatar(48);
                                    }
                                    break;
                                }
                            case 
2:
                                {
                                    if (
client.entity.conquerpoints >= client.npccpsinput && client.npccpsinput != 0)
                                    {
                                        
client.entity.conquerpoints -= client.npccpsinput;
                                        
game.conquerstructures.nobility.donate((ulong)client.npccpsinput, client);
                                        
client.npccpsinput = 0;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

ولو عايز تخلي انو هوا يبدا يدفع سيبي من اول رقم كذا هتعمله من هنا


كود:
if (input < 1000) 
حيطتو لم بتبرع مش بيرفعني ولا بي يعمل حاجه لم بحط سي بي

قديم 2020-01-24, 10:20 PM
المشاركة 4
Hassan Emprator
.:: مشرف قسم المشاكل ::.
الإجابات المقدمة: 301
  • غير متواجد
افتراضي رد: انبي سي
حيطتو لم بتبرع مش بيرفعني ولا بي يعمل حاجه لم بحط سي بي
شوف انت اصلا كنج وله لا وجرب بي اكونت جديد !


العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

الانتقال السريع

المواضيع المتشابهه للموضوع: انبي سي
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
انبي سي خاص بي شخصيه Water Hassan Emprator تطوير سيرفرات كونكر 0 2019-08-19 05:27 AM
انبي سي innerPower Hassan Emprator تطوير سيرفرات كونكر 3 2019-07-21 08:07 AM
انبي سي الابك Hassan Emprator تطوير سيرفرات كونكر 1 2019-07-08 04:14 PM
انبي سي الاحصنه Hazem تطوير سيرفرات كونكر 0 2019-05-13 03:16 AM
انبي سي توب windwalker Hazem تطوير سيرفرات كونكر 0 2019-05-13 02:55 AM


الساعة الآن 06:32 PM