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

الردود
34

المشاهدات
6469
 
محمد ياسر

محمد ياسر is on a distinguished road

    غير متواجد

المشاركات
1,940

+التقييم
0.87

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

الاقامة
https://www.facebook.com/daany

نظام التشغيل

رقم العضوية
1
2019-08-06, 08:35 AM
المشاركة 1 
#1  
افتراضي Npc للموتوسكل والعربيه

السلام عليكم ورحمة الله وبركاته
بالنسبة لناس الي عنده مونت الموتوسكل ومونت العربية والثعبان وهكذا ..
ده انبي سي ليهم بدل ماتحير نفسك في الشوب

كود:
#region Npc Moto And Car
                
case 2020800:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hey there Would you like to Buy New Mount MoTOSikl And Car ?");
                                    
//dialog.Option("Dragon Killer(mounte) saint 5k cps ", 1);
                                  //  dialog.Option("The Daarknees(Gerament)Saint 5k cps", 2);
                                   // dialog.Option("Dragon Killer(mounte) Normal 3 kcps", 3);
                                   // dialog.Option("The Daarknees(Gerament)Normal 3 kcps", 4);
                                    
dialog.Option("MotoSikL 60k Cps"5);
                                    
dialog.Option("Race Car 60k Cps"6);
                                    
dialog.Option("No.Thanks"250);
                                    
dialog.Avatar(80);
                                    
dialog.Send();
                                    break;

                                }

                            case 
1:
                                {
                                    if (
client.Inventory.Count 39)
                                    {
                                        if (
client.Entity.ConquerPoints >= 5000)
                                        {
                                            
client.Send(new Message("Congraulations You Have Got The New Garment"System.Drawing.Color.WhiteMessage.Center));
                                            
client.Entity.ConquerPoints -= 5000;
                                            
client.Inventory.Add(20053101);

                                        }
                                        else
                                        {
                                            
dialog.Text("Hey Man You Dont Have 5000 CPs ");
                                            
dialog.Option("Oh,Sorry"255);
                                            
dialog.Send();
                                            break;
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("You Have To Make Free Rooms In You Item");
                                        
dialog.Option("Oh,Ok"255);
                                        
dialog.Send();
                                        break;
                                    }
                                }
                            case 
2:
                                {
                                    if (
client.Inventory.Count 39)
                                    {
                                        if (
client.Entity.ConquerPoints >= 5000)
                                        {
                                            
client.Send(new Message("Congraulations You Have Got The New Garment"System.Drawing.Color.WhiteMessage.Center));
                                            
client.Entity.ConquerPoints -= 5000;
                                            
client.Inventory.Add(18906501);

                                        }
                                        else
                                        {
                                            
dialog.Text("Hey Man You Dont Have 5000 CPs ");
                                            
dialog.Option("Oh,Sorry"255);
                                            
dialog.Send();
                                            break;
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("You Have To Make Free Rooms In You Item");
                                        
dialog.Option("Oh,Ok"255);
                                        
dialog.Send();
                                        break;
                                    }
                                }
                            case 
3:
                                {
                                    if (
client.Inventory.Count 39)
                                    {
                                        if (
client.Entity.ConquerPoints >= 3000)
                                        {
                                            
client.Send(new Message("Congraulations You Have Got The New Garment"System.Drawing.Color.WhiteMessage.Center));
                                            
client.Entity.ConquerPoints -= 3000;
                                            
client.Inventory.Add(20052801);

                                        }
                                        else
                                        {
                                            
dialog.Text("Hey Man You Dont Have 3000 CPs ");
                                            
dialog.Option("Oh,Sorry"255);
                                            
dialog.Send();
                                            break;
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("You Have To Make Free Rooms In You Item");
                                        
dialog.Option("Oh,Ok"255);
                                        
dialog.Send();
                                        break;
                                    }
                                }
                            case 
4:
                                {
                                    if (
client.Inventory.Count 39)
                                    {
                                        if (
client.Entity.ConquerPoints >= 3000)
                                        {
                                            
client.Send(new Message("Congraulations You Have Got The New Garment"System.Drawing.Color.WhiteMessage.Center));
                                            
client.Entity.ConquerPoints -= 3000;
                                            
client.Inventory.Add(18904501);

                                        }
                                        else
                                        {
                                            
dialog.Text("Hey Man You Dont Have 3000 CPs ");
                                            
dialog.Option("Oh,Sorry"255);
                                            
dialog.Send();
                                            break;
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("You Have To Make Free Rooms In You Item");
                                        
dialog.Option("Oh,Ok"255);
                                        
dialog.Send();
                                        break;
                                    }
                                }
                            case 
5:
                                {
                                    if (
client.Inventory.Count 39)
                                    {
                                        if (
client.Entity.ConquerPoints >= 60000)
                                        {
                                            
client.Send(new Message("Congraulations You Have Got The New Garment"System.Drawing.Color.WhiteMessage.Center));
                                            
client.Entity.ConquerPoints -= 60000;
                                            
client.Inventory.Add(20053301);

                                        }
                                        else
                                        {
                                            
dialog.Text("Hey Man You Dont Have 6000 CPs ");
                                            
dialog.Option("Oh,Sorry"255);
                                            
dialog.Send();
                                            break;
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("You Have To Make Free Rooms In You Item");
                                        
dialog.Option("Oh,Ok"255);
                                        
dialog.Send();
                                        break;
                                    }
                                }
                            case 
6:
                                {
                                    if (
client.Inventory.Count 39)
                                    {
                                        if (
client.Entity.ConquerPoints >= 60000)
                                        {
                                            
client.Send(new Message("Congraulations You Have Got The New Garment"System.Drawing.Color.WhiteMessage.Center));
                                            
client.Entity.ConquerPoints -= 60000;
                                            
client.Inventory.Add(20053201);

                                        }
                                        else
                                        {
                                            
dialog.Text("Hey Man You Dont Have 6000 CPs ");
                                            
dialog.Option("Oh,Sorry"255);
                                            
dialog.Send();
                                            break;
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("You Have To Make Free Rooms In You Item");
                                        
dialog.Option("Oh,Ok"255);
                                        
dialog.Send();
                                        break;
                                    }
                                }


                        }
                        break;
                    }
                
#endregion