منتدي اكواد

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

محمد ياسر 2019-08-06 08:35 AM

Npc للموتوسكل والعربيه
 

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

#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 


bebo100 2019-08-06 08:44 AM

رد: Npc للموتوسكل والعربيه
 
طب والى عايز يضيفوا

محمد ياسر 2019-08-06 08:57 AM

رد: Npc للموتوسكل والعربيه
 
اقتباس:

المشاركة الأصلية كتبت بواسطة bebo100 (المشاركة 10090)
طب والى عايز يضيفوا

اتفضل
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع

bebo100 2019-08-06 11:09 AM

رد: Npc للموتوسكل والعربيه
 
تسلم

Users 2019-08-06 11:18 AM

رد: Npc للموتوسكل والعربيه
 
عااش

LyokaWarior 2019-08-06 01:17 PM

رد: Npc للموتوسكل والعربيه
 
مـمــتــاااز.

islampepo33 2019-08-09 10:38 AM

رد: Npc للموتوسكل والعربيه
 
الف شكر

islampepo33 2019-08-09 10:39 AM

رد: Npc للموتوسكل والعربيه
 
مشكوووووووووووووور

ElSaher 2019-08-09 01:36 PM

رد: Npc للموتوسكل والعربيه
 
عاش يا حازم ربنا يخليك لينا كلنا

ViORX 2019-09-16 12:21 PM

رد: Npc للموتوسكل والعربيه
 
تسلم ايدك

ابو حمزه9 2019-09-17 05:53 PM

رد: Npc للموتوسكل والعربيه
 




عاش يا حازم أستمر




ahmedfathy 2019-10-23 11:52 AM

رد: Npc للموتوسكل والعربيه
 
الله ينور عليك

عمرو الجنرال 2019-10-26 03:13 AM

رد: Npc للموتوسكل والعربيه
 
تسلم ايدك

Omar Mohamed100 2019-10-30 03:42 AM

رد: Npc للموتوسكل والعربيه
 
استمرر

MaZzGanGYy 2020-01-25 06:46 PM

رد: Npc للموتوسكل والعربيه
 
عـآش

conquer4rQyoe 2020-01-29 05:34 AM

رد: Npc للموتوسكل والعربيه
 
عاش

goku7410 2020-02-04 06:09 PM

رد: Npc للموتوسكل والعربيه
 
شكرا ياريس

Mawdo3jded 2020-02-18 07:37 PM

رد: Npc للموتوسكل والعربيه
 
جاري التجربه

Islampepo00 2020-02-21 06:03 AM

رد: Npc للموتوسكل والعربيه
 
الف شكر

megokarika 2020-02-21 10:04 AM

رد: Npc للموتوسكل والعربيه
 
اقتباس:

المشاركة الأصلية كتبت بواسطة hazem (المشاركة 10087)

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

#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 


الله ينور ي كبير

AdhamMohamed 2020-02-21 01:01 PM

رد: Npc للموتوسكل والعربيه
 
عاش يحب

VoOoDieKa 2020-04-17 06:08 AM

رد: Npc للموتوسكل والعربيه
 
تسلم ايدك ياستاذ حازم ♥ :d

basemm 2020-04-27 01:06 AM

رد: Npc للموتوسكل والعربيه
 
تسلم

MaNGaWy 2020-04-27 07:33 AM

رد: Npc للموتوسكل والعربيه
 
تسلم ايدك

ahmedsamirali 2020-05-01 04:11 PM

رد: Npc للموتوسكل والعربيه
 
تانتانتان

ahmed soska 2020-05-12 05:42 AM

رد: Npc للموتوسكل والعربيه
 
1

mustapha 2021-12-01 05:31 PM

رد: Npc للموتوسكل والعربيه
 
goood

eebramking 2022-01-14 11:39 PM

رد: Npc للموتوسكل والعربيه
 
الف شكرن مان

Serag Dash 2022-02-21 12:36 AM

رد: Npc للموتوسكل والعربيه
 
عاش

Zuko 2022-02-21 11:10 AM

رد: Npc للموتوسكل والعربيه
 
ty

test2019 2022-04-07 05:31 AM

رد: Npc للموتوسكل والعربيه
 
عاش

ahmedfarouk 2023-07-22 01:40 AM

رد: Npc للموتوسكل والعربيه
 
شكرا

مينا 2023-07-31 02:15 PM

رد: Npc للموتوسكل والعربيه
 
عاش

yousef here 2023-08-01 09:53 PM

رد: Npc للموتوسكل والعربيه
 
عاش


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

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