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

الردود
6

المشاهدات
5603
 
Tefa

Tefa is on a distinguished road

    غير متواجد

المشاركات
2,515

+التقييم
1.21

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

الاقامة

نظام التشغيل

رقم العضوية
358
2019-11-14, 08:15 AM
المشاركة 1 
#1  
افتراضي npc EpicWeapons[Source Alex]

كود:
 [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
                ////
                
            
}
        }