منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   ان بي سي بيديك لحد لفل 144 لي السرفرات السهله (https://code.vpscairo.com/showthread.php?t=4043)

Tyranny-Team's 2020-03-19 06:07 PM

ان بي سي بيديك لحد لفل 144 لي السرفرات السهله
 
بسم الله الرحمن الرحيم ده ان بي سي بيديك لفل من 140 لحد 144 لي الي عامل سرفرات سهله
اول حاجه هندخل علي ملف ال Npc.cs
هتنزل تحت اي ان بي سي عند وتضيف ده

كود PHP:

#region Npc Give Level 140-144 By Mr.Mayo
                    
case 1067:
                        {
                            switch (
npcRequest.OptionID)
                            {
                                case 
0:
                                    {
                                        
dialog.Text("Hello There I Am Npc Give Level 140-141-142-143-144 Edited By AlgbrooT-Co");
                                        
dialog.Option("I'm Need Level 140 Mr.Mayo"1);
                                        
dialog.Option("I'm Need Level 141 Mr.Mayo"2);
                                        
dialog.Option("I'm Need Level 142 Mr.Mayo"3);
                                        
dialog.Option("I'm Need Level 143 Mr.Mayo"4);
                                        
dialog.Option("I'm Need Level 144 Mr.Mayo"5);
                                        
dialog.Option("No Thanks"255);
                                        
dialog.Send();
                                        break;
                                    }

                                case 
1:
                                    {
                                        if (
client.Player.ConquerPoints >= 100000 && (client.Player.Level 140))
                                        {
                                            
client.Player.ConquerPoints -= 100000;
                                            
client.Player.Level 140;
                                            
client.Player.Atributes 536;
                                            
client.Player.Strength 0;
                                            
client.Player.Agility 0;
                                            
client.Player.Spirit 0;
                                            
client.Player.Vitality 1;
                                        }
                                        else
                                        {

                                            
dialog.Text("Please get 100.000 cps to Get Level 140.");
                                            
dialog.Option("I see."255);
                                            
dialog.Avatar(116);
                                            
dialog.Send();

                                        }
                                        break;
                                    }
                                case 
2:
                                    {
                                        if (
client.Player.ConquerPoints >= 150000000 && (client.Player.Level 141))
                                        {
                                            
client.Player.ConquerPoints -= 150000000;
                                            
client.Player.Level 141;
                                            
client.Player.Atributes 536;
                                            
client.Player.Strength 0;
                                            
client.Player.Agility 0;
                                            
client.Player.Spirit 0;
                                            
client.Player.Vitality 1;
                                        }
                                        else
                                        {

                                            
dialog.Text("Please get 150.000.000 cps to Get Level 141.");
                                            
dialog.Option("I see."255);
                                            
dialog.Avatar(116);
                                            
dialog.Send();

                                        }
                                        break;
                                    }
                                case 
3:
                                    {
                                        if (
client.Player.ConquerPoints >= 250000000 && (client.Player.Level 142))
                                        {
                                            
client.Player.ConquerPoints -= 250000000;
                                            
client.Player.Level 142;
                                            
client.Player.Atributes 536;
                                            
client.Player.Strength 0;
                                            
client.Player.Agility 0;
                                            
client.Player.Spirit 0;
                                            
client.Player.Vitality 1;
                                        }
                                        else
                                        {

                                            
dialog.Text("Please get 250.000.000 cps to Get Level 142.");
                                            
dialog.Option("I see."255);
                                            
dialog.Avatar(116);
                                            
dialog.Send();

                                        }
                                        break;
                                    }
                                case 
4:
                                    {
                                        if (
client.Player.ConquerPoints >= 350000000 && (client.Player.Level 143))
                                        {
                                            
client.Player.ConquerPoints -= 350000000;
                                            
client.Player.Level 143;
                                            
client.Player.Atributes 536;
                                            
client.Player.Strength 0;
                                            
client.Player.Agility 0;
                                            
client.Player.Spirit 0;
                                            
client.Player.Vitality 1;
                                        }
                                        else
                                        {

                                            
dialog.Text("Please get 350.000.000 cps to Get Level 143.");
                                            
dialog.Option("I see."255);
                                            
dialog.Avatar(116);
                                            
dialog.Send();

                                        }
                                        break;
                                    }
                                case 
5:
                                    {
                                        if (
client.Player.ConquerPoints >= 500000000 && (client.Player.Level 144))
                                        {
                                            
client.Player.ConquerPoints -= 500000000;
                                            
client.Player.Level 144;
                                            
client.Player.Atributes 536;
                                            
client.Player.Strength 0;
                                            
client.Player.Agility 0;
                                            
client.Player.Spirit 0;
                                            
client.Player.Vitality 1;
                                        }
                                        else
                                        {

                                            
dialog.Text("Please get 500.000.000 cps to Get Level 144.");
                                            
dialog.Option("I see."255);
                                            
dialog.Avatar(116);
                                            
dialog.Send();

                                        }
                                        break;
                                    }
                            }
                            break;
                        }
                    
#endregion 

تمام كدا احنا ضفنا الان بي سي ندخل علي الاضافه في التون بقا
هتدخل علي القاعده بتعتك في النفي كات تضيف ده

كود PHP:

1067    Level 140-144    2    51560    1002    292    287 

وبكدا احنا ضفناه في التون ستي

Hazem 2020-03-19 06:52 PM

رد: ان بي سي بيديك لحد لفل 144 لي السرفرات السهله
 
عاش

Tyranny-Team's 2020-03-19 07:25 PM

رد: ان بي سي بيديك لحد لفل 144 لي السرفرات السهله
 
اقتباس:

المشاركة الأصلية كتبت بواسطة Hazem (المشاركة 32905)
عاش

تسلم


الساعة الآن 12:41 PM

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