منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   Npc Sell cps for Money (https://code.vpscairo.com/showthread.php?t=568)

Users 2019-06-29 01:27 AM

Npc Sell cps for Money
 
يا شباب بعد ازنكم انا لاغى كود 215 محدش يشغلو عشان فى ثغره لو شغلتو هيديك سبيس كتير :D
سيبو زى ما هو وهتلافى الدنيا مظبوطه


كود PHP:

#region Sell Cps 
                
case 54200:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hi Friend " client.Entity.Name " Iam Golding Seller and i Sell Cps For Gold ");
                                    
//dialog.Option("12kk Gold -> 215 cps", 1);
                                    
dialog.Option("25kk Gold -> 500 Cps"2);
                                    
dialog.Option("55kk Gold -> 1075 Cps"3);
                                    
dialog.Option("270kk Gold -> 5000 Cps"4);
                                    
dialog.Option("500kk Gold -> 10000 Cps!"5);
                                    
dialog.Option("1Meliar Gold -> 25000 Cps"6);
                                    
dialog.Option("I don't care."255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
6:
                                {
                                    if (
client.Entity.Money >= 1000000000)
                                    {
                                        
client.Entity.Money -= 1000000000;
                                        
client.Entity.ConquerPoints += 25000;
                                    }
                                    else
                                    {
                                        
dialog.Text("you have 1 Meliar Money");
                                        
dialog.Option("NO."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
5:
                                {
                                    if (
client.Entity.Money >= 500000000)
                                    {
                                        
client.Entity.Money -= 500000000;
                                        
client.Entity.ConquerPoints += 10000;
                                    }
                                    else
                                    {
                                        
dialog.Text("you have 500kk Money");
                                        
dialog.Option("NO."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
4:
                                {
                                    if (
client.Entity.Money >= 270000000)
                                    {
                                        
client.Entity.Money -= 270000000;
                                        
client.Entity.ConquerPoints += 5000;
                                    }
                                    else
                                    {
                                        
dialog.Text("you have 270kk Money");
                                        
dialog.Option("NO."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
1:
                                {
                                    if (
client.Entity.Money >= 12000000)
                                    {
                                        
clientEntity.Money -= 12000000;
                                        
client.Entity.ConquerPoints += 215;
                                    }
                                    else
                                    {
                                        
dialog.Text("you have 12kk Money");
                                        
dialog.Option("NO."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
2:
                                {
                                    if (
client.Entity.Money >= 25000000)
                                    {
                                        
client.Entity.Money -= 25000000;
                                        
client.Entity.ConquerPoints += 500;
                                    }
                                    else
                                    {
                                        
dialog.Text("you have 25kk Money");
                                        
dialog.Option("NO."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
3:
                                {
                                    if (
client.Entity.Money >= 55000000)
                                    {
                                        
client.Entity.Money -= 55000000;
                                        
client.Entity.ConquerPoints += 1075;
                                    }
                                    else
                                    {
                                        
dialog.Text("you have 55kk Money");
                                        
dialog.Option("NO."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 


MohamedModyAdel 2019-06-29 01:58 AM

رد: Npc Sell cps for Money
 
جميل

محمد ياسر 2019-06-29 05:14 AM

رد: Npc Sell cps for Money
 
تسلم

Tefa 2019-07-04 10:25 PM

رد: Npc Sell cps for Money
 
عاش بس الان بي سي ده اوعي تحطه في البوكر والا هيكون ثغره


الساعة الآن 09:22 AM

مرحبا بكم في منتدي اكواد لتطوير الالعاب