منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   npc EpicWeapons[Source Alex] (https://code.vpscairo.com/showthread.php?t=2931)

Rider 2019-11-14 08:15 AM

npc EpicWeapons[Source Alex]
 
كود PHP:

 [NpcAttribute(NpcID.Epicsshop)]
        public static 
void Epicsshop(Client.GameClient clientServerSockets.Packet streambyte Optionstring Inputuint id)
        {
            
Dialog dialog = new Dialog(clientstream);
            switch (
Option)
            {
                case 
0:
                    {
                        
dialog.AddText("Hello <tip color=0xfff05050> i am Epics seller");
                        
dialog.AddText(client.Player.Name "</tip> ,, what epic u want price 50k cps. -><- ,");
                        
dialog.AddText(" how can i help you?");
                        
dialog.AddOption("Epics Trojan."1);
                        
dialog.AddOption("Epics Warrior."2);
                        
dialog.AddOption("Epic Toiast."8);
                        
dialog.AddOption("Epics NInja."4);
                        
dialog.AddOption("Epics Monk."5);
                        
dialog.AddOption("Later."255);
                        
dialog.AddAvatar(255).FinalizeDialog();
                        break;
                    }
                
#region Stuff trojan
                
case 1:
                    {
                        if (
client.Player.ConquerPoints 50000)
                        
//if (!client.Inventory.HaveSpace(36))
                        
{
                            
client.SendSysMesage("u do not have 50k :).");


                            
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
                            
return;
                        }
                        else if (
client.Player.ConquerPoints 50000)
                        {
                            
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
                            return;
                        }
                        else
                        {
                            
client.Player.ConquerPoints -= 50000;


                            
client.Inventory.Add(stream614429);
                            
client.Inventory.Add(stream614429);
                            
                            

                            
client.SendSysMesage("Congratz you got a Epics in your inventory.");
                        }
                        break;
                    }
                
#endregion
                /////////////////
                #region Stuff Warrior
                
case 2:
                    {
                        if (
client.Player.ConquerPoints 50000)
                        
//if (!client.Inventory.HaveSpace(36))
                        
{
                            
client.SendSysMesage("Mfyy4 floos :P :).");

                            
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
                            
return;
                        }
                        else if (
client.Player.ConquerPoints 50000)
                        {
                            
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
                            return;
                        }
                        else
                        {
                            
client.Player.ConquerPoints -= 50000;

                            
client.Inventory.Add(stream624439);
                            
client.Inventory.Add(stream624439);
                           

                            

                            
client.SendSysMesage("Congratz you got a stuff in your inventory.");
                        }
                        break;
                    }
                
#endregion #region Stuff trojan
                ////////////////////////
                
                

                ///////////
                #region Stuff Ninja
                
case 4:
                    {
                        if (
client.Player.ConquerPoints 50000)
                        
//if (!client.Inventory.HaveSpace(36))
                        
{
                            
client.SendSysMesage("Your Now If Have a STFF :).");

                            
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
                            
return;
                        }
                        else if (
client.Player.ConquerPoints 50000)
                        {
                            
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
                            return;
                        }
                        else
                        {
                            
client.Player.ConquerPoints -= 50000;

                            
client.Inventory.Add(stream616439);
                            
client.Inventory.Add(stream616439);
                            
                            
                            
client.SendSysMesage("Congratz you got a stuff in your inventory.");
                        }
                        break;
                    }
                
#endregion #region Stuff trojan

                ////////
                #region Stuff Monk
                
case 5:
                    {
                        if (
client.Player.ConquerPoints 50000)
                        
//if (!client.Inventory.HaveSpace(36))
                        
{
                            
client.SendSysMesage("Your Now If Have a STFF :).");

                            
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
                            
return;
                        }
                        else if (
client.Player.ConquerPoints 50000)
                        {
                            
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
                            return;
                        }
                        else
                        {
                            
client.Player.ConquerPoints -= 50000;

                            
client.Inventory.Add(stream622439);
                            
client.Inventory.Add(stream622439);
                           
                            
                            
client.SendSysMesage("Congratz you got a stuff in your inventory.");
                        }
                        break;
                    }
                
#endregion #region Stuff trojan
                //////
                
                //////
                
                //
                #region Stuff Taoist
                
case 8:
                    {
                        if (
client.Player.ConquerPoints 50000)
                        
//if (!client.Inventory.HaveSpace(36))
                        
{
                            
client.SendSysMesage("Your Now If Have a STFF :).");

                            
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
                            
return;
                        }
                        else if (
client.Player.ConquerPoints 50000)
                        {
                            
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
                            return;
                        }
                        else
                        {
                            
client.Player.ConquerPoints -= 50000;

                            
client.Inventory.Add(stream620439);
                            
client.Inventory.Add(stream619439);
                            
                           
                            
client.SendSysMesage("Congratz you got a stuff in your inventory.");
                        }
                        break;
                    }
                
#endregion #region Stuff trojan
                ////
                
            
}
        } 


محمد ياسر 2019-11-14 09:09 AM

رد: npc EpicWeapons[Source Alex]
 
عاش والله

Rider 2019-11-14 09:17 AM

رد: npc EpicWeapons[Source Alex]
 
حبيبي و الله <3

ALz3em 2019-11-14 11:26 AM

رد: npc EpicWeapons[Source Alex]
 
عاش

Hassan Emprator 2019-11-14 03:43 PM

رد: npc EpicWeapons[Source Alex]
 
دا سورس الكيس دا متاكد ؟

ابو حمزه9 2019-11-14 11:24 PM

رد: npc EpicWeapons[Source Alex]
 


اقتباس:

المشاركة الأصلية كتبت بواسطة Hassan Emprator (المشاركة 21759)
دا سورس الكيس دا متاكد ؟

أتفق مع حسن يا رايدر أذاي دة سورس اليكس ؟
:confused:


Rider 2019-11-25 10:18 PM

رد: npc EpicWeapons[Source Alex]
 
اها سورس حطيت ان بي سي غلط تم التعديل


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

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