Advertisement
JoSchaap

Stripped xZombiemod for CoD:MW3

May 20th, 2012
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 208.36 KB | None | 0 0
  1. using Addon;
  2. using System;
  3. using System.Text;
  4. using System.Collections;
  5. using System.Runtime.InteropServices;
  6. using System.Net;
  7.  
  8. namespace mw3zombie
  9. {
  10.     public class mw3zombie : CPlugin
  11.     {
  12.         private bool selfloaded;
  13.  
  14.         private Hashtable fs;
  15.  
  16.         private Hashtable Kills;
  17.  
  18.         private Hashtable MKill;
  19.  
  20.         private Hashtable Points;
  21.  
  22.         private Hashtable sa;
  23.  
  24.         private Hashtable ZHP;
  25.  
  26.         public mw3zombie()
  27.         {
  28.             this.Points = new Hashtable();
  29.             this.Kills = new Hashtable();
  30.             this.MKill = new Hashtable();
  31.             this.ZHP = new Hashtable();
  32.             this.sa = new Hashtable();
  33.             this.fs = new Hashtable();
  34.         }
  35.  
  36.         private void classlol(object arg)
  37.         {
  38.             ServerClient serverClient = (ServerClient)arg;
  39.             try
  40.             {
  41.                 Random random = new Random();
  42.                 int num = random.Next(0, 2);
  43.                 switch (num)
  44.                 {
  45.                     case 0:
  46.                         {
  47.                             base.iPrintLnBold("^5Your random walker class is ^1Normal walker", serverClient);
  48.                             serverClient.Other.SpeedScale = 1.2f;
  49.                             break;
  50.                         }
  51.                     case 1:
  52.                         {
  53.                             base.iPrintLnBold("^5Your random walker class is ^2Juggernaut walker", serverClient);
  54.                             serverClient.Other.SpeedScale = 0.75f;
  55.                             Other_t other = serverClient.Other;
  56.                             other.Health = (other.Health + 150);
  57.                             serverClient.Other.SetPlayerModel("mp_fullbody_opforce_juggernaut");
  58.                             break;
  59.                         }
  60.                 }
  61.             }
  62.             catch
  63.             {
  64.             }
  65.         }
  66.  
  67.         public void onInit(ServerClient Client)
  68.         {
  69.             SurvivorLoadout(Client);
  70.         }
  71.  
  72.         public void SurvivorLoadout(object arg)
  73.         {
  74.             try
  75.             {
  76.                 ServerClient serverClient = (ServerClient)arg;
  77.                 int weapon = base.GetWeapon("0");
  78.                 serverClient.Other.Equipment = weapon;
  79.                 serverClient.Other.OffhandWeapon = weapon;
  80.                 if (serverClient.Team != Teams.Allies)
  81.                 {
  82.                     if (serverClient.Team == Teams.Axis)
  83.                     {
  84.                         base.iPrintLnBold("^1YOURE A WALKER! EAT THOSE BRAINS.", serverClient);
  85.                         int num = base.GetWeapon("iw5_usp45_mp_tactical");
  86.                         serverClient.Other.PrimaryWeapon = num;
  87.                         serverClient.Other.CurrentWeapon = num;
  88.                         int weapon1 = base.GetWeapon("0");
  89.                         serverClient.Other.SecondaryWeapon = weapon1;
  90.                         serverClient.Ammo.PrimaryAmmo = 0;
  91.                         serverClient.Ammo.PrimaryAmmoClip = 0;
  92.                         serverClient.Ammo.SecondaryAmmo = 0;
  93.                         serverClient.Ammo.SecondaryAmmoClip = 0;
  94.                         this.zomclass(serverClient);
  95.                     }
  96.                 }
  97.                 else
  98.                 {
  99.                     base.iPrintLnBold("^1Try to survive! Watch out for Walkers!.", serverClient);
  100.                     int num1 = base.GetWeapon("iw5_1887_mp");
  101.                     serverClient.Other.PrimaryWeapon = num1;
  102.                     serverClient.Other.CurrentWeapon = num1;
  103.                     int weapon2 = base.GetWeapon("iw5_usp45_mp");
  104.                     serverClient.Other.SecondaryWeapon = weapon2;
  105.                     serverClient.Ammo.PrimaryAmmo = 5;
  106.                     serverClient.Ammo.PrimaryAmmoClip = 30;
  107.                     serverClient.Ammo.SecondaryAmmo = 5;
  108.                     serverClient.Ammo.SecondaryAmmoClip = 30;
  109.                     serverClient.Other.Health = 100;
  110.                 }
  111.             }
  112.             catch
  113.             {
  114.             }
  115.         }
  116.  
  117.         private void zomclass(ServerClient Client)
  118.         {
  119.             classlol(Client);
  120.         }
  121.  
  122.         private void lastPlayer(ServerClient Client)
  123.         {
  124.             try
  125.             {
  126.                 int weapon = base.GetWeapon("iw5_mp7_mp_xmags_reflex_rof_camo11");
  127.                 int num = base.GetWeapon("rpg_mp");
  128.                 Client.Other.PrimaryWeapon = weapon;
  129.                 Client.Other.CurrentWeapon = weapon;
  130.                 Client.Other.SecondaryWeapon = num;
  131.                 Client.Ammo.PrimaryAmmo = (0x3e7);
  132.                 Client.Ammo.SecondaryAmmo = (0x3e7);
  133.                 Client.Other.SpeedScale = (1.3f);
  134.             }
  135.             catch
  136.             {
  137.             }
  138.         }
  139.  
  140.         private void checkClientAward(ServerClient Client, int kills)
  141.         {
  142.             if (kills == 5)
  143.             {
  144.                 base.iPrintLnBold("^4You have earned ^1Fast Reload ^4perk! [^3Award^4]", Client);
  145.                 Client.Other.SetPerk(base.GetPerk("specialty_fastreload"));
  146.             }
  147.             if (kills == 10)
  148.             {
  149.                 base.iPrintLnBold("^4You have earned ^1Cold blooded ^4perk! [^3Award^4]", Client);
  150.                 Client.Other.SetPerk(base.GetPerk("specialty_coldblooded"));
  151.             }
  152.             if (kills == 20)
  153.             {
  154.                 base.iPrintLnBold("^4You have earned ^1EPIC MP7 ^4weapon! [^3Award^4]", Client);
  155.                 int weapon = base.GetWeapon("iw5_mp7_mp_camo10_reflexsmg_rof");
  156.                 Client.Other.PrimaryWeapon = weapon;
  157.                 Client.Other.CurrentWeapon = weapon;
  158.             }
  159.             if (kills == 30)
  160.             {
  161.                 base.iPrintLnBold("^4You have earned ^1WALKING AC130^4! [^3Award^4]", Client);
  162.                 int num = base.GetWeapon("ac130_25mm_mp");
  163.                 Client.Other.PrimaryWeapon = num;
  164.                 Client.Other.CurrentWeapon = num;
  165.             }
  166.         }
  167.  
  168.         private void multikill(object arg)
  169.         {
  170.             ServerClient serverClient = (ServerClient)arg;
  171.             this.MKill[serverClient.XUID] = (int)this.MKill[serverClient.XUID] + 1;
  172.             if ((int)this.MKill[serverClient.XUID] > 1)
  173.             {
  174.                 object[] name = new object[4];
  175.                 name[0] = serverClient.Name;
  176.                 name[1] = " ^3got a ^1multikill ^3with ^5";
  177.                 name[2] = (int)this.MKill[serverClient.XUID];
  178.                 name[3] = " ^3kills!";
  179.                 base.iPrintLn(string.Concat(name), null);
  180.             }
  181.             this.MKill[serverClient.XUID] = 0;
  182.         }
  183.  
  184.         public override void OnFastRestart()
  185.         {
  186.             base.SetDvar("g_gametype", "infect");
  187.             base.SetDvar("scr_infect_timelimit", "0");
  188.             base.SetDvar("scr_game_graceperiod", "0");
  189.             base.SetDvar("scr_game_playerwaittime", "0");
  190.             base.SetDvar("scr_game_matchstarttime", "0");
  191.             base.SetDvar("scr_infect_numlives", "0");
  192.             base.SetDvar("scr_infect_promode", "0");
  193.             base.SetDvar("scr_infect_timelimit", "20");
  194.             base.SetDvar("scr_infect_roundlimit", "0");
  195.             base.SetDvar("scr_infect_winlimit", "15");
  196.             base.SetDvar("g_allowVote", "0");
  197.             base.SetDvar("didyouknow", "Now playing: ^1ZOMBIEMOD^3 Walking DEAD^7 Made-by:^1JayDi ^7Fixes:^3XS4ALL:JoSchaap");
  198.             if (base.GetDvar("g_gametype") != "infect")
  199.             {
  200.                 base.ServerPrint("[XZombie] GAMETYPE IS NOT 'INFECT' ... CHANGING");
  201.                 base.SetDvar("g_Gametype", "infect");
  202.                 base.ServerCommand("fast_restart");
  203.             }
  204.         }
  205.  
  206.         public override void OnMapChange()
  207.         {
  208.             base.SetDvar("g_gametype", "infect");
  209.             base.SetDvar("scr_infect_timelimit", "0");
  210.             base.SetDvar("scr_game_graceperiod", "0");
  211.             base.SetDvar("scr_game_playerwaittime", "0");
  212.             base.SetDvar("scr_game_matchstarttime", "0");
  213.             base.SetDvar("scr_infect_numlives", "0");
  214.             base.SetDvar("scr_infect_promode", "0");
  215.             base.SetDvar("scr_infect_timelimit", "20");
  216.             base.SetDvar("scr_infect_roundlimit", "0");
  217.             base.SetDvar("scr_infect_winlimit", "15");
  218.             base.SetDvar("g_allowVote", "0");
  219.             base.SetDvar("didyouknow", "Now playing: ^1ZOMBIEMOD^3 Walking DEAD^7 Made-by:^1JayDi ^7Fixes:^3XS4ALL:JoSchaap");
  220.             if (!this.selfloaded)
  221.             {
  222.                 this.selfloaded = true;
  223.                 base.ServerPrint("[Zombie] Please wait.... Loading map and applying settings!");
  224.                 base.ServerCommand("fast_restart");
  225.             }
  226.             if (base.GetDvar("g_gametype") != "infect")
  227.             {
  228.                 base.SetDvar("g_Gametype", "infect");
  229.                 base.ServerCommand("fast_restart");
  230.             }
  231.         }
  232.  
  233.         public override void OnPlayerConnect(ServerClient Client)
  234.         {
  235.             dvars(Client);
  236.         }
  237.  
  238.         public override void OnServerLoad()
  239.         {
  240.             base.ServerPrint("<======== Fixed  ZOMBIE GAME =============>");
  241.             base.ServerPrint("< Version 1.1                             >");
  242.             base.ServerPrint("< Created by JayDi fixes: Pieter/JoSchaap >");
  243.             base.ServerPrint("<=========================================>");
  244.             base.SetDvar("g_gametype", "infect");
  245.             base.SetDvar("scr_infect_timelimit", "0");
  246.             base.SetDvar("scr_game_graceperiod", "0");
  247.             base.SetDvar("scr_game_playerwaittime", "0");
  248.             base.SetDvar("scr_game_matchstarttime", "0");
  249.             base.SetDvar("scr_infect_numlives", "0");
  250.             base.SetDvar("scr_infect_promode", "0");
  251.             base.SetDvar("scr_infect_timelimit", "20");
  252.             base.SetDvar("scr_infect_roundlimit", "0");
  253.             base.SetDvar("scr_infect_winlimit", "15");
  254.             base.SetDvar("g_TeamColor_Allies", "0 1 0");
  255.             base.SetDvar("g_TeamColor_Axis", "1 0 0");
  256.             base.SetDvar("g_ScoresColor_Spectator", "0 1 1");
  257.             base.SetDvar("g_ScoresColor_Free", ".76 .78 .10");
  258.             base.SetDvar("g_teamColor_MyTeam", "0 0 1");
  259.             base.SetDvar("g_teamColor_EnemyTeam", "1 0 0");
  260.             base.SetDvar("g_teamColor_MyTeamAlt", "0 0 1");
  261.             base.SetDvar("g_teamColor_EnemyTeamAlt", "1 0 0");
  262.             base.SetDvar("g_teamColor_Squad", ".315 0.35 1");
  263.             base.SetDvar("scr_maxPerPlayerExplosives", "999");
  264.             base.SetDvar("con_typewriterColorBase", "1 0 0");
  265.             base.SetDvar("con_typewriterColorGlowUpdated", "1 0 0");
  266.             base.SetDvar("con_typewriterColorGlowCompleted", "1 0 0");
  267.             base.SetDvar("con_typewriterColorGlowFailed", "1 0 0");
  268.             this.setup();
  269.         }
  270.         private void dvars(ServerClient Client)
  271.         {
  272.  
  273.             base.SetClientDvar(Client.ClientNum, "didyouknow \"Now playing: ^1ZOMBIEMOD^3 Walking DEAD^7 Made-by:^1JayDi ^7Fixes:^3XS4ALL:JoSchaap\"");
  274.         }
  275.  
  276.         private void gameSet(ServerClient Client)
  277.         {
  278.             base.SetClientDvar(Client.ClientNum, "cg_objectiveText \"Now playing: ^1ZOMBIEMOD^3 Walking DEAD^7 Made-by:^1JayDi ^7Fixes:^3XS4ALL:JoSchaap\"");
  279.             base.SetDvar("r_brightness", "-0.15");
  280.             base.SetDvar("r_blur", "0.2");
  281.             mw3zombie _mw3zombie = new mw3zombie();
  282.         }
  283.  
  284.         public override void OnPlayerSpawned(ServerClient Client)
  285.         {
  286.             if (this.Points[Client.XUID] == null)
  287.             {
  288.                 this.Points.Add(Client.XUID, 0);
  289.             }
  290.             if (this.Kills[Client.XUID] == null)
  291.             {
  292.                 this.Kills.Add(Client.XUID, 0);
  293.             }
  294.             if (this.MKill[Client.XUID] == null)
  295.             {
  296.                 this.MKill.Add(Client.XUID, 0);
  297.             }
  298.             if (this.ZHP[Client.XUID] == null)
  299.             {
  300.                 this.ZHP.Add(Client.XUID, 150);
  301.             }
  302.             if (this.sa[Client.XUID] == null)
  303.             {
  304.                 this.sa.Add(Client.XUID, 0);
  305.             }
  306.             if (this.fs[Client.XUID] == null)
  307.             {
  308.                 this.fs.Add(Client.XUID, 0);
  309.             }
  310.             this.Kills[Client.XUID] = 0;
  311.             this.MKill[Client.XUID] = 0;
  312.             this.sa[Client.XUID] = 0;
  313.             this.fs[Client.XUID] = 0;
  314.             if (Client.Team == Teams.Axis)
  315.             {
  316.                 Client.Other.Health = (int)this.ZHP[Client.XUID];
  317.             }
  318.             this.onInit(Client);
  319.             this.gameSet(Client);
  320.             Client.Other.ClearPerks();
  321.             base.PlaySoundOnPlayer(Client, "freefall_death");
  322.         }
  323.  
  324.         private void domk(ServerClient Client)
  325.         {
  326.             multikill(Client);
  327.         }
  328.  
  329.         public override int OnPlayerDamaged(ServerClient Attacker, ServerClient Victim, string Weapon, int Damage)
  330.         {
  331.             if (Damage >= Victim.Other.Health && Attacker.Team != Victim.Team && Victim.XUID != Attacker.XUID)
  332.             {
  333.                 try
  334.                 {
  335.                     this.Points[Attacker.XUID] = (int)this.Points[Attacker.XUID] + 100;
  336.                     this.Kills[Attacker.XUID] = (int)this.Kills[Attacker.XUID] + 1;
  337.                     base.iPrintLnBold(string.Concat("^5You've got ^1", (int)this.Points[Attacker.XUID], "^5 points!"), Attacker);
  338.                     this.domk(Attacker);
  339.                     this.specialAbility(Attacker);
  340.                     if (Attacker.Team == Teams.Axis)
  341.                     {
  342.                         this.unrealTournament(Attacker);
  343.                         this.checkClientAward(Attacker, (int)this.Kills[Attacker.XUID]);
  344.                     }
  345.  
  346.                     if (Victim.Team == Teams.Allies)
  347.                     {
  348.                         base.iPrintLnBold("^2+15 points", Victim);
  349.                         this.Points[Victim.XUID] = (int)this.Points[Victim.XUID] + 15;
  350.                     }
  351.                 }
  352.                 catch (Exception exception1)
  353.                 {
  354.                     Exception exception = exception1;
  355.                     base.iPrintLn(string.Concat("[^1DEV^7]: ", exception.Message), Attacker);
  356.                 }
  357.             }
  358.             return Damage;
  359.         }
  360.  
  361.         private void setup()
  362.         {
  363.             if (base.GetServerCFG("MW3SHOP", "barrettCost", "") == "")
  364.             {
  365.                 base.SetServerCFG("MW3SHOP", "barrettCost", "900");
  366.             }
  367.             if (base.GetServerCFG("MW3SHOP", "ammoCost", "") == "")
  368.             {
  369.                 base.SetServerCFG("MW3SHOP", "ammoCost", "100");
  370.             }
  371.             if (base.GetServerCFG("MW3SHOP", "scarCost", "") == "")
  372.             {
  373.                 base.SetServerCFG("MW3SHOP", "scarCost", "550");
  374.             }
  375.             if (base.GetServerCFG("MW3SHOP", "mk14Cost", "") == "")
  376.             {
  377.                 base.SetServerCFG("MW3SHOP", "mk14Cost", "650");
  378.             }
  379.             if (base.GetServerCFG("MW3SHOP", "acrCost", "") == "")
  380.             {
  381.                 base.SetServerCFG("MW3SHOP", "acrCost", "650");
  382.             }
  383.             if (base.GetServerCFG("MW3SHOP", "fadCost", "") == "")
  384.             {
  385.                 base.SetServerCFG("MW3SHOP", "fadCost", "700");
  386.             }
  387.             if (base.GetServerCFG("MW3SHOP", "m16Cost", "") == "")
  388.             {
  389.                 base.SetServerCFG("MW3SHOP", "m16Cost", "500");
  390.             }
  391.             if (base.GetServerCFG("MW3SHOP", "ak47Cost", "") == "")
  392.             {
  393.                 base.SetServerCFG("MW3SHOP", "ak47Cost", "760");
  394.             }
  395.             if (base.GetServerCFG("MW3SHOP", "m4Cost", "") == "")
  396.             {
  397.                 base.SetServerCFG("MW3SHOP", "m4Cost", "800");
  398.             }
  399.             if (base.GetServerCFG("MW3SHOP", "mg36Cost", "") == "")
  400.             {
  401.                 base.SetServerCFG("MW3SHOP", "mg36Cost", "850");
  402.             }
  403.             if (base.GetServerCFG("MW3SHOP", "sa80Cost", "") == "")
  404.             {
  405.                 base.SetServerCFG("MW3SHOP", "sa80Cost", "700");
  406.             }
  407.             if (base.GetServerCFG("MW3SHOP", "cm901Cost", "") == "")
  408.             {
  409.                 base.SetServerCFG("MW3SHOP", "cm901Cost", "650");
  410.             }
  411.             if (base.GetServerCFG("MW3SHOP", "g36Cost", "") == "")
  412.             {
  413.                 base.SetServerCFG("MW3SHOP", "g36Cost", "700");
  414.             }
  415.             if (base.GetServerCFG("MW3SHOP", "rsassCost", "") == "")
  416.             {
  417.                 base.SetServerCFG("MW3SHOP", "rsassCost", "750");
  418.             }
  419.             if (base.GetServerCFG("MW3SHOP", "rpgCost", "") == "")
  420.             {
  421.                 base.SetServerCFG("MW3SHOP", "rpgCost", "1010");
  422.             }
  423.             if (base.GetServerCFG("MW3SHOP", "xm25Cost", "") == "")
  424.             {
  425.                 base.SetServerCFG("MW3SHOP", "xm25Cost", "910");
  426.             }
  427.             if (base.GetServerCFG("MW3SHOP", "spasCost", "") == "")
  428.             {
  429.                 base.SetServerCFG("MW3SHOP", "spasCost", "510");
  430.             }
  431.             if (base.GetServerCFG("MW3SHOP", "usasCost", "") == "")
  432.             {
  433.                 base.SetServerCFG("MW3SHOP", "usasCost", "550");
  434.             }
  435.             if (base.GetServerCFG("MW3SHOP", "aa12Cost", "") == "")
  436.             {
  437.                 base.SetServerCFG("MW3SHOP", "aa12Cost", "650");
  438.             }
  439.             if (base.GetServerCFG("MW3SHOP", "strikerCost", "") == "")
  440.             {
  441.                 base.SetServerCFG("MW3SHOP", "strikerCost", "580");
  442.             }
  443.             if (base.GetServerCFG("MW3SHOP", "modelCost", "") == "")
  444.             {
  445.                 base.SetServerCFG("MW3SHOP", "modelCost", "700");
  446.             }
  447.             if (base.GetServerCFG("MW3SHOP", "as50Cost", "") == "")
  448.             {
  449.                 base.SetServerCFG("MW3SHOP", "as50Cost", "850");
  450.             }
  451.             if (base.GetServerCFG("MW3SHOP", "l96a1Cost", "") == "")
  452.             {
  453.                 base.SetServerCFG("MW3SHOP", "l96a1Cost", "950");
  454.             }
  455.             if (base.GetServerCFG("MW3SHOP", "msrCost", "") == "")
  456.             {
  457.                 base.SetServerCFG("MW3SHOP", "msrCost", "1100");
  458.             }
  459.             if (base.GetServerCFG("MW3SHOP", "dragCost", "") == "")
  460.             {
  461.                 base.SetServerCFG("MW3SHOP", "dragCost", "700");
  462.             }
  463.             if (base.GetServerCFG("MW3SHOP", "pechCost", "") == "")
  464.             {
  465.                 base.SetServerCFG("MW3SHOP", "pechCost", "900");
  466.             }
  467.             if (base.GetServerCFG("MW3SHOP", "mk46Cost", "") == "")
  468.             {
  469.                 base.SetServerCFG("MW3SHOP", "mk46Cost", "850");
  470.             }
  471.             if (base.GetServerCFG("MW3SHOP", "m60Cost", "") == "")
  472.             {
  473.                 base.SetServerCFG("MW3SHOP", "m60Cost", "990");
  474.             }
  475.             if (base.GetServerCFG("MW3SHOP", "ump45Cost", "") == "")
  476.             {
  477.                 base.SetServerCFG("MW3SHOP", "ump45Cost", "300");
  478.             }
  479.             if (base.GetServerCFG("MW3SHOP", "pp90m1Cost", "") == "")
  480.             {
  481.                 base.SetServerCFG("MW3SHOP", "pp90m1Cost", "450");
  482.             }
  483.             if (base.GetServerCFG("MW3SHOP", "p90Cost", "") == "")
  484.             {
  485.                 base.SetServerCFG("MW3SHOP", "p90Cost", "500");
  486.             }
  487.             if (base.GetServerCFG("MW3SHOP", "m9Cost", "") == "")
  488.             {
  489.                 base.SetServerCFG("MW3SHOP", "m9Cost", "400");
  490.             }
  491.             if (base.GetServerCFG("MW3SHOP", "mp7Cost", "") == "")
  492.             {
  493.                 base.SetServerCFG("MW3SHOP", "mp7Cost", "650");
  494.             }
  495.             if (base.GetServerCFG("MW3SHOP", "mp5Cost", "") == "")
  496.             {
  497.                 base.SetServerCFG("MW3SHOP", "mp5Cost", "500");
  498.             }
  499.             if (base.GetServerCFG("MW3SHOP", "Stalker_ZCost", "") == "")
  500.             {
  501.                 base.SetServerCFG("MW3SHOP", "Stalker_ZCost", "200");
  502.             }
  503.             if (base.GetServerCFG("MW3SHOP", "CB_ZCost", "") == "")
  504.             {
  505.                 base.SetServerCFG("MW3SHOP", "CB_ZCost", "250");
  506.             }
  507.             if (base.GetServerCFG("MW3SHOP", "StalkerCost", "") == "")
  508.             {
  509.                 base.SetServerCFG("MW3SHOP", "StalkerCost", "300");
  510.             }
  511.             if (base.GetServerCFG("MW3SHOP", "BACost", "") == "")
  512.             {
  513.                 base.SetServerCFG("MW3SHOP", "BACost", "400");
  514.             }
  515.             if (base.GetServerCFG("MW3SHOP", "CBCost", "") == "")
  516.             {
  517.                 base.SetServerCFG("MW3SHOP", "CBCost", "500");
  518.             }
  519.             if (base.GetServerCFG("MW3SHOP", "BECost", "") == "")
  520.             {
  521.                 base.SetServerCFG("MW3SHOP", "BECost", "300");
  522.             }
  523.             if (base.GetServerCFG("MW3SHOP", "ScavengerCost", "") == "")
  524.             {
  525.                 base.SetServerCFG("MW3SHOP", "ScavengerCost", "300");
  526.             }
  527.             if (base.GetServerCFG("MW3SHOP", "FRCost", "") == "")
  528.             {
  529.                 base.SetServerCFG("MW3SHOP", "FRCost", "500");
  530.             }
  531.             if (base.GetServerCFG("MW3SHOP", "FMCost", "") == "")
  532.             {
  533.                 base.SetServerCFG("MW3SHOP", "FMCost", "450");
  534.             }
  535.             if (base.GetServerCFG("MW3SHOP", "TKCost", "") == "")
  536.             {
  537.                 base.SetServerCFG("MW3SHOP", "TKCost", "200");
  538.             }
  539.             if (base.GetServerCFG("MW3SHOP", "EmpGrenadeCost", "") == "")
  540.             {
  541.                 base.SetServerCFG("MW3SHOP", "EmpGrenadeCost", "200");
  542.             }
  543.             if (base.GetServerCFG("MW3SHOP", "ZHPCost", "") == "")
  544.             {
  545.                 base.SetServerCFG("MW3SHOP", "ZHPCost", "120");
  546.             }
  547.             if (base.GetServerCFG("MW3SHOP", "claymoreCost", "") == "")
  548.             {
  549.                 base.SetServerCFG("MW3SHOP", "claymoreCost", "420");
  550.             }
  551.         }
  552.  
  553.         private void specialAbility(ServerClient Client)
  554.         {
  555.             if (Client.Stats.Kills == 5)
  556.             {
  557.                 base.iPrintLnBold("^3Special Ability ^5ready to use! ^1Type ^4!sa^1 to activate!", Client);
  558.                 base.iPrintLn(string.Concat(Client.Name, " ^2HAVE EARNED SPECIAL ABILITY"), null);
  559.                 this.sa[Client.XUID] = (int)this.sa[Client.XUID] + 10;
  560.             }
  561.             if (Client.Stats.Kills == 10)
  562.             {
  563.                 base.iPrintLnBold("^3Special Ability ^5ready to use! ^1Type ^4!sa^1 to activate!", Client);
  564.                 base.iPrintLn(string.Concat(Client.Name, " ^2HAVE EARNED SPECIAL ABILITY"), null);
  565.                 this.sa[Client.XUID] = (int)this.sa[Client.XUID] + 10;
  566.             }
  567.             if (Client.Stats.Kills == 14)
  568.             {
  569.                 base.iPrintLnBold("^3You've earned ^2FIRESTORM. ^3Type ^1!firestorm ^3to call ^2FIRESTORM.", Client);
  570.                 base.iPrintLn(string.Concat(Client.Name, " ^2HAVE EARNED ^1FIRESTORM"), null);
  571.                 this.fs[Client.XUID] = (int)this.fs[Client.XUID] + 10;
  572.             }
  573.             if (Client.Stats.Kills == 15)
  574.             {
  575.                 base.iPrintLnBold("^3Special Ability ^5ready to use! ^1Type ^4!sa^1 to activate!", Client);
  576.                 base.iPrintLn(string.Concat(Client.Name, " ^2HAVE EARNED SPECIAL ABILITY"), null);
  577.                 this.sa[Client.XUID] = (int)this.sa[Client.XUID] + 10;
  578.             }
  579.         }
  580.  
  581.         private void unrealTournament(ServerClient client)
  582.         {
  583.             if ((int)this.Kills[client.XUID] != 2)
  584.             {
  585.                 if ((int)this.Kills[client.XUID] == 4)
  586.                 {
  587.                     base.iPrintLn(string.Concat(client.Name, " ^3is on ^1RAMPAGE SPREE!"), null);
  588.                     base.iPrintLnBold(string.Concat(client.Name, " ^3is on ^1RAMPAGE SPREE!"), null);
  589.                 }
  590.             }
  591.             else
  592.             {
  593.                 base.iPrintLn(string.Concat(client.Name, " ^3is on ^1KILLING SPREE"), null);
  594.                 base.iPrintLnBold(string.Concat(client.Name, " ^3is on ^1KILLING SPREE"), null);
  595.             }
  596.             if ((int)this.Kills[client.XUID] == 8)
  597.             {
  598.                 base.iPrintLn(string.Concat(client.Name, " ^3is on DOMINATING SPREE!"), null);
  599.                 base.iPrintLnBold(string.Concat(client.Name, " ^3is on DOMINATING SPREE!"), null);
  600.             }
  601.             if ((int)this.Kills[client.XUID] == 12)
  602.             {
  603.                 base.iPrintLn(string.Concat(client.Name, " ^3is on ^1UNSTOPPABLE Spree!"), null);
  604.                 base.iPrintLnBold(string.Concat(client.Name, " ^3is on ^1UNSTOPPABLE Spree!"), null);
  605.             }
  606.             if ((int)this.Kills[client.XUID] == 14)
  607.             {
  608.                 base.iPrintLn(string.Concat(client.Name, " ^3is on ^1MONSTER SPREE!"), null);
  609.                 base.iPrintLnBold(string.Concat(client.Name, " ^3is on ^1MONSTER SPREE!"), null);
  610.             }
  611.             if ((int)this.Kills[client.XUID] == 18)
  612.             {
  613.                 base.iPrintLn(string.Concat(client.Name, " ^3is on ^1MEGA Spree!"), null);
  614.                 base.iPrintLnBold(string.Concat(client.Name, " ^3is on ^1MEGA Spree!"), null);
  615.             }
  616.             if ((int)this.Kills[client.XUID] == 24)
  617.             {
  618.                 base.iPrintLn(string.Concat(client.Name, " ^3is a WICKED sick!"), null);
  619.                 base.iPrintLnBold(string.Concat(client.Name, " ^3is a WICKED sick!"), null);
  620.             }
  621.             if ((int)this.Kills[client.XUID] == 25)
  622.             {
  623.                 base.iPrintLn(string.Concat(client.Name, " ^3is on ^1GOD LIKE!"), null);
  624.                 base.iPrintLnBold(string.Concat(client.Name, " ^3is on ^1GOD LIKE!"), null);
  625.             }
  626.             if ((int)this.Kills[client.XUID] == 30)
  627.             {
  628.                 base.iPrintLn(string.Concat(client.Name, " ^3is on ^1HOLY SHIT spree!"), null);
  629.                 base.iPrintLnBold(string.Concat(client.Name, " ^3is on ^1HOLY SHIT spree!"), null);
  630.             }
  631.             if ((int)this.Kills[client.XUID] == 35)
  632.             {
  633.                 base.iPrintLn(string.Concat(client.Name, " ^3is on ^1Walker Master Killer Spree!"), null);
  634.                 base.iPrintLnBold(string.Concat(client.Name, " ^3is on ^1Walker Master Killer Spree!"), null);
  635.             }
  636.         }
  637.         public override ChatType OnSay(string Message, ServerClient Client)
  638.         {
  639.             ChatType chatType;
  640.             string[] strArrays;
  641.             try
  642.             {
  643.                 int item = (int)this.Points[Client.XUID];
  644.                 string serverCFG = base.GetServerCFG("mw3shop", "EmpGrenadeCost", "");
  645.                 string str = base.GetServerCFG("mw3shop", "TKCost", "");
  646.                 string serverCFG1 = base.GetServerCFG("mw3shop", "FMCost", "");
  647.                 string str1 = base.GetServerCFG("mw3shop", "FRCost", "");
  648.                 string serverCFG2 = base.GetServerCFG("mw3shop", "ScavengerCost", "");
  649.                 string str2 = base.GetServerCFG("mw3shop", "BECost", "");
  650.                 string serverCFG3 = base.GetServerCFG("mw3shop", "CBCost", "");
  651.                 string str3 = base.GetServerCFG("mw3shop", "BACost", "");
  652.                 string serverCFG4 = base.GetServerCFG("mw3shop", "StalkerCost", "");
  653.                 string str4 = base.GetServerCFG("mw3shop", "CB_ZCost", "");
  654.                 string serverCFG5 = base.GetServerCFG("mw3shop", "Stalker_ZCost", "");
  655.                 string str5 = base.GetServerCFG("mw3shop", "mp5Cost", "");
  656.                 string serverCFG6 = base.GetServerCFG("mw3shop", "mp7Cost", "");
  657.                 string str6 = base.GetServerCFG("mw3shop", "m9Cost", "");
  658.                 string serverCFG7 = base.GetServerCFG("mw3shop", "p90Cost", "");
  659.                 string str7 = base.GetServerCFG("mw3shop", "pp90m1Cost", "");
  660.                 string serverCFG8 = base.GetServerCFG("mw3shop", "ump45Cost", "");
  661.                 string str8 = base.GetServerCFG("mw3shop", "m60Cost", "");
  662.                 string serverCFG9 = base.GetServerCFG("mw3shop", "mk46Cost", "");
  663.                 string str9 = base.GetServerCFG("mw3shop", "pechCost", "");
  664.                 string serverCFG10 = base.GetServerCFG("mw3shop", "sa80Cost", "");
  665.                 string str10 = base.GetServerCFG("mw3shop", "mg36Cost", "");
  666.                 string serverCFG11 = base.GetServerCFG("mw3shop", "m4Cost", "");
  667.                 string str11 = base.GetServerCFG("mw3shop", "ak47Cost", "");
  668.                 string serverCFG12 = base.GetServerCFG("mw3shop", "m16Cost", "");
  669.                 string str12 = base.GetServerCFG("mw3shop", "fadCost", "");
  670.                 string serverCFG13 = base.GetServerCFG("mw3shop", "acrCost", "");
  671.                 string str13 = base.GetServerCFG("mw3shop", "mk14Cost", "");
  672.                 string serverCFG14 = base.GetServerCFG("mw3shop", "scarCost", "");
  673.                 string str14 = base.GetServerCFG("mw3shop", "g36Cost", "");
  674.                 string serverCFG15 = base.GetServerCFG("mw3shop", "cm901Cost", "");
  675.                 string str15 = base.GetServerCFG("mw3shop", "barrettCost", "");
  676.                 string serverCFG16 = base.GetServerCFG("mw3shop", "rsassCost", "");
  677.                 string str16 = base.GetServerCFG("mw3shop", "dragCost", "");
  678.                 string serverCFG17 = base.GetServerCFG("mw3shop", "msrCost", "");
  679.                 string str17 = base.GetServerCFG("mw3shop", "l96a1Cost", "");
  680.                 string serverCFG18 = base.GetServerCFG("mw3shop", "as50Cost", "");
  681.                 string str18 = base.GetServerCFG("mw3shop", "modelCost", "");
  682.                 string serverCFG19 = base.GetServerCFG("mw3shop", "strikerCost", "");
  683.                 string str19 = base.GetServerCFG("mw3shop", "aa12Cost", "");
  684.                 string serverCFG20 = base.GetServerCFG("mw3shop", "usasCost", "");
  685.                 string str20 = base.GetServerCFG("mw3shop", "spasCost", "");
  686.                 string serverCFG21 = base.GetServerCFG("mw3shop", "xm25Cost", "");
  687.                 string str21 = base.GetServerCFG("mw3shop", "rpgCost", "");
  688.                 string serverCFG22 = base.GetServerCFG("mw3shop", "ammoCost", "");
  689.                 string str22 = base.GetServerCFG("mw3shop", "zHPCost", "");
  690.                 string serverCFG23 = base.GetServerCFG("mw3shop", "claymoreCost", "");
  691.                 if (Message != "!z_info")
  692.                 {
  693.                     if (Message == "!myhealth")
  694.                     {
  695.                         base.iPrintLnBold(string.Concat((int)this.ZHP[Client.XUID], " ", Client.Other.Health), Client);
  696.                     }
  697.                     if (Message != "!firestorm")
  698.                     {
  699.                         if (Message != "!sa")
  700.                         {
  701.                             if (Message == "!tut")
  702.                             {
  703.                                 base.iPrintLnBold("^2This is the shop for ^1Walking-DEAD MOD^2. ^3Type ^1!shop^3 to show it.", Client);
  704.                             }
  705.                             if (Message == "!mypoints")
  706.                             {
  707.                                 base.iPrintLnBold(string.Concat("^2YOUR POINTS: ", item), Client);
  708.                             }
  709.                             if (Message == "!credits")
  710.                             {
  711.                                 base.iPrintLnBold("^2Created by JayDi. ^7Fixed by JoSchaap(XS4ALL) ^3Visit ^1itsmods.com", Client);
  712.                             }
  713.                             if (Message != "!dp")
  714.                             {
  715.                                 if (Message != "!shop")
  716.                                 {
  717.                                     if (Message != "!weapons")
  718.                                     {
  719.                                         if (Message != "!perks")
  720.                                         {
  721.                                             if (Message != "!smg")
  722.                                             {
  723.                                                 if (Message != "!lmg")
  724.                                                 {
  725.                                                     if (Message != "!assault")
  726.                                                     {
  727.                                                         if (Message != "!snipe")
  728.                                                         {
  729.                                                             if (Message != "!shotguns")
  730.                                                             {
  731.                                                                 if (Message != "!expl")
  732.                                                                 {
  733.                                                                     if (Client.Team == Teams.Allies)
  734.                                                                     {
  735.                                                                         if (Message != "!ammo")
  736.                                                                         {
  737.                                                                             if (Message != "!mp5")
  738.                                                                             {
  739.                                                                                 if (Message != "!mp7")
  740.                                                                                 {
  741.                                                                                     if (Message != "!pm9")
  742.                                                                                     {
  743.                                                                                         if (Message != "!p90")
  744.                                                                                         {
  745.                                                                                             if (Message != "!pp90")
  746.                                                                                             {
  747.                                                                                                 if (Message != "!ump45")
  748.                                                                                                 {
  749.                                                                                                     if (Message != "!m60")
  750.                                                                                                     {
  751.                                                                                                         if (Message != "!mk46")
  752.                                                                                                         {
  753.                                                                                                             if (Message != "!pech")
  754.                                                                                                             {
  755.                                                                                                                 if (Message != "!l86")
  756.                                                                                                                 {
  757.                                                                                                                     if (Message != "!mg36")
  758.                                                                                                                     {
  759.                                                                                                                         if (Message != "!m4")
  760.                                                                                                                         {
  761.                                                                                                                             if (Message != "!ak47")
  762.                                                                                                                             {
  763.                                                                                                                                 if (Message != "!m16")
  764.                                                                                                                                 {
  765.                                                                                                                                     if (Message != "!fad")
  766.                                                                                                                                     {
  767.                                                                                                                                         if (Message != "!acr")
  768.                                                                                                                                         {
  769.                                                                                                                                             if (Message != "!mk14")
  770.                                                                                                                                             {
  771.                                                                                                                                                 if (Message != "!scar")
  772.                                                                                                                                                 {
  773.                                                                                                                                                     if (Message != "!g36")
  774.                                                                                                                                                     {
  775.                                                                                                                                                         if (Message != "!cm901")
  776.                                                                                                                                                         {
  777.                                                                                                                                                             if (Message != "!claymore")
  778.                                                                                                                                                             {
  779.                                                                                                                                                                 if (Message != "!barret")
  780.                                                                                                                                                                 {
  781.                                                                                                                                                                     if (Message != "!rsass")
  782.                                                                                                                                                                     {
  783.                                                                                                                                                                         if (Message != "!msr")
  784.                                                                                                                                                                         {
  785.                                                                                                                                                                             if (Message != "!dragunov")
  786.                                                                                                                                                                             {
  787.                                                                                                                                                                                 if (Message != "!l96a1")
  788.                                                                                                                                                                                 {
  789.                                                                                                                                                                                     if (Message != "!as50")
  790.                                                                                                                                                                                     {
  791.                                                                                                                                                                                         if (Message != "!model")
  792.                                                                                                                                                                                         {
  793.                                                                                                                                                                                             if (Message != "!striker")
  794.                                                                                                                                                                                             {
  795.                                                                                                                                                                                                 if (Message != "!aa12")
  796.                                                                                                                                                                                                 {
  797.                                                                                                                                                                                                     if (Message != "!usas12")
  798.                                                                                                                                                                                                     {
  799.                                                                                                                                                                                                         if (Message == "!health")
  800.                                                                                                                                                                                                         {
  801.                                                                                                                                                                                                             base.iPrintLnBold("^1Only Walkers can buy it!", Client);
  802.                                                                                                                                                                                                         }
  803.                                                                                                                                                                                                         if (Message != "!spas12")
  804.                                                                                                                                                                                                         {
  805.                                                                                                                                                                                                             if (Message != "!rpg")
  806.                                                                                                                                                                                                             {
  807.                                                                                                                                                                                                                 if (Message != "!xm25")
  808.                                                                                                                                                                                                                 {
  809.                                                                                                                                                                                                                     if (Message != "!fastermelee")
  810.                                                                                                                                                                                                                     {
  811.                                                                                                                                                                                                                         if (Message != "!fastreload")
  812.                                                                                                                                                                                                                         {
  813.                                                                                                                                                                                                                             if (Message != "!scavenger")
  814.                                                                                                                                                                                                                             {
  815.                                                                                                                                                                                                                                 if (Message != "!blindeye")
  816.                                                                                                                                                                                                                                 {
  817.                                                                                                                                                                                                                                     if (Message != "!coldblood")
  818.                                                                                                                                                                                                                                     {
  819.                                                                                                                                                                                                                                         if (Message != "!bulletaccuracy")
  820.                                                                                                                                                                                                                                         {
  821.                                                                                                                                                                                                                                             if (Message == "!stalker")
  822.                                                                                                                                                                                                                                             {
  823.                                                                                                                                                                                                                                                 int num = Convert.ToInt32(serverCFG4);
  824.                                                                                                                                                                                                                                                 if ((int)this.Points[Client.XUID] >= num)
  825.                                                                                                                                                                                                                                                 {
  826.                                                                                                                                                                                                                                                     Client.Other.SetPerk(base.GetPerk("specialty_stalker"));
  827.                                                                                                                                                                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num;
  828.                                                                                                                                                                                                                                                 }
  829.                                                                                                                                                                                                                                                 else
  830.                                                                                                                                                                                                                                                 {
  831.                                                                                                                                                                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  832.                                                                                                                                                                                                                                                 }
  833.                                                                                                                                                                                                                                                 chatType = ChatType.ChatContinue;
  834.                                                                                                                                                                                                                                                 return chatType;
  835.                                                                                                                                                                                                                                             }
  836.                                                                                                                                                                                                                                         }
  837.                                                                                                                                                                                                                                         else
  838.                                                                                                                                                                                                                                         {
  839.                                                                                                                                                                                                                                             int num1 = Convert.ToInt32(str3);
  840.                                                                                                                                                                                                                                             if ((int)this.Points[Client.XUID] >= num1)
  841.                                                                                                                                                                                                                                             {
  842.                                                                                                                                                                                                                                                 Client.Other.SetPerk(base.GetPerk("specialty_bulletaccuracy"));
  843.                                                                                                                                                                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num1;
  844.                                                                                                                                                                                                                                             }
  845.                                                                                                                                                                                                                                             else
  846.                                                                                                                                                                                                                                             {
  847.                                                                                                                                                                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  848.                                                                                                                                                                                                                                             }
  849.                                                                                                                                                                                                                                             chatType = ChatType.ChatContinue;
  850.                                                                                                                                                                                                                                             return chatType;
  851.                                                                                                                                                                                                                                         }
  852.                                                                                                                                                                                                                                     }
  853.                                                                                                                                                                                                                                     else
  854.                                                                                                                                                                                                                                     {
  855.                                                                                                                                                                                                                                         int num2 = Convert.ToInt32(serverCFG3);
  856.                                                                                                                                                                                                                                         if ((int)this.Points[Client.XUID] >= num2)
  857.                                                                                                                                                                                                                                         {
  858.                                                                                                                                                                                                                                             Client.Other.SetPerk(base.GetPerk("specialty_coldblooded"));
  859.                                                                                                                                                                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num2;
  860.                                                                                                                                                                                                                                         }
  861.                                                                                                                                                                                                                                         else
  862.                                                                                                                                                                                                                                         {
  863.                                                                                                                                                                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  864.                                                                                                                                                                                                                                         }
  865.                                                                                                                                                                                                                                         chatType = ChatType.ChatContinue;
  866.                                                                                                                                                                                                                                         return chatType;
  867.                                                                                                                                                                                                                                     }
  868.                                                                                                                                                                                                                                 }
  869.                                                                                                                                                                                                                                 else
  870.                                                                                                                                                                                                                                 {
  871.                                                                                                                                                                                                                                     int num3 = Convert.ToInt32(str2);
  872.                                                                                                                                                                                                                                     if ((int)this.Points[Client.XUID] >= num3)
  873.                                                                                                                                                                                                                                     {
  874.                                                                                                                                                                                                                                         Client.Other.SetPerk(base.GetPerk("specialty_blindeye"));
  875.                                                                                                                                                                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num3;
  876.                                                                                                                                                                                                                                     }
  877.                                                                                                                                                                                                                                     else
  878.                                                                                                                                                                                                                                     {
  879.                                                                                                                                                                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  880.                                                                                                                                                                                                                                     }
  881.                                                                                                                                                                                                                                     chatType = ChatType.ChatContinue;
  882.                                                                                                                                                                                                                                     return chatType;
  883.                                                                                                                                                                                                                                 }
  884.                                                                                                                                                                                                                             }
  885.                                                                                                                                                                                                                             else
  886.                                                                                                                                                                                                                             {
  887.                                                                                                                                                                                                                                 int num4 = Convert.ToInt32(serverCFG2);
  888.                                                                                                                                                                                                                                 if ((int)this.Points[Client.XUID] >= num4)
  889.                                                                                                                                                                                                                                 {
  890.                                                                                                                                                                                                                                     Client.Other.SetPerk(base.GetPerk("specialty_scavenger"));
  891.                                                                                                                                                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num4;
  892.                                                                                                                                                                                                                                 }
  893.                                                                                                                                                                                                                                 else
  894.                                                                                                                                                                                                                                 {
  895.                                                                                                                                                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  896.                                                                                                                                                                                                                                 }
  897.                                                                                                                                                                                                                                 chatType = ChatType.ChatContinue;
  898.                                                                                                                                                                                                                                 return chatType;
  899.                                                                                                                                                                                                                             }
  900.                                                                                                                                                                                                                         }
  901.                                                                                                                                                                                                                         else
  902.                                                                                                                                                                                                                         {
  903.                                                                                                                                                                                                                             int num5 = Convert.ToInt32(str1);
  904.                                                                                                                                                                                                                             if ((int)this.Points[Client.XUID] >= num5)
  905.                                                                                                                                                                                                                             {
  906.                                                                                                                                                                                                                                 Client.Other.SetPerk(base.GetPerk("specialty_fastreload"));
  907.                                                                                                                                                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num5;
  908.                                                                                                                                                                                                                             }
  909.                                                                                                                                                                                                                             else
  910.                                                                                                                                                                                                                             {
  911.                                                                                                                                                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  912.                                                                                                                                                                                                                             }
  913.                                                                                                                                                                                                                             chatType = ChatType.ChatContinue;
  914.                                                                                                                                                                                                                             return chatType;
  915.                                                                                                                                                                                                                         }
  916.                                                                                                                                                                                                                     }
  917.                                                                                                                                                                                                                     else
  918.                                                                                                                                                                                                                     {
  919.                                                                                                                                                                                                                         int num6 = Convert.ToInt32(serverCFG1);
  920.                                                                                                                                                                                                                         if ((int)this.Points[Client.XUID] >= num6)
  921.                                                                                                                                                                                                                         {
  922.                                                                                                                                                                                                                             Client.Other.SetPerk(base.GetPerk("specialty_fastermelee"));
  923.                                                                                                                                                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num6;
  924.                                                                                                                                                                                                                         }
  925.                                                                                                                                                                                                                         else
  926.                                                                                                                                                                                                                         {
  927.                                                                                                                                                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  928.                                                                                                                                                                                                                         }
  929.                                                                                                                                                                                                                         chatType = ChatType.ChatContinue;
  930.                                                                                                                                                                                                                         return chatType;
  931.                                                                                                                                                                                                                     }
  932.                                                                                                                                                                                                                 }
  933.                                                                                                                                                                                                                 else
  934.                                                                                                                                                                                                                 {
  935.                                                                                                                                                                                                                     int num7 = Convert.ToInt32(serverCFG21);
  936.                                                                                                                                                                                                                     if ((int)this.Points[Client.XUID] >= num7)
  937.                                                                                                                                                                                                                     {
  938.                                                                                                                                                                                                                         int weapon = base.GetWeapon("xm25_mp");
  939.                                                                                                                                                                                                                         Client.Other.PrimaryWeapon = weapon;
  940.                                                                                                                                                                                                                         Client.Other.CurrentWeapon = weapon;
  941.                                                                                                                                                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num7;
  942.                                                                                                                                                                                                                     }
  943.                                                                                                                                                                                                                     else
  944.                                                                                                                                                                                                                     {
  945.                                                                                                                                                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  946.                                                                                                                                                                                                                     }
  947.                                                                                                                                                                                                                     chatType = ChatType.ChatContinue;
  948.                                                                                                                                                                                                                     return chatType;
  949.                                                                                                                                                                                                                 }
  950.                                                                                                                                                                                                             }
  951.                                                                                                                                                                                                             else
  952.                                                                                                                                                                                                             {
  953.                                                                                                                                                                                                                 int num8 = Convert.ToInt32(str21);
  954.                                                                                                                                                                                                                 if ((int)this.Points[Client.XUID] >= num8)
  955.                                                                                                                                                                                                                 {
  956.                                                                                                                                                                                                                     int weapon1 = base.GetWeapon("rpg_mp");
  957.                                                                                                                                                                                                                     Client.Other.PrimaryWeapon = weapon1;
  958.                                                                                                                                                                                                                     Client.Other.CurrentWeapon = weapon1;
  959.                                                                                                                                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num8;
  960.                                                                                                                                                                                                                 }
  961.                                                                                                                                                                                                                 else
  962.                                                                                                                                                                                                                 {
  963.                                                                                                                                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  964.                                                                                                                                                                                                                 }
  965.                                                                                                                                                                                                                 chatType = ChatType.ChatContinue;
  966.                                                                                                                                                                                                                 return chatType;
  967.                                                                                                                                                                                                             }
  968.                                                                                                                                                                                                         }
  969.                                                                                                                                                                                                         else
  970.                                                                                                                                                                                                         {
  971.                                                                                                                                                                                                             int num9 = Convert.ToInt32(str20);
  972.                                                                                                                                                                                                             if ((int)this.Points[Client.XUID] >= num9)
  973.                                                                                                                                                                                                             {
  974.                                                                                                                                                                                                                 int weapon2 = base.GetWeapon("iw5_spas12_mp");
  975.                                                                                                                                                                                                                 Client.Other.PrimaryWeapon = weapon2;
  976.                                                                                                                                                                                                                 Client.Other.CurrentWeapon = weapon2;
  977.                                                                                                                                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num9;
  978.                                                                                                                                                                                                             }
  979.                                                                                                                                                                                                             else
  980.                                                                                                                                                                                                             {
  981.                                                                                                                                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  982.                                                                                                                                                                                                             }
  983.                                                                                                                                                                                                             chatType = ChatType.ChatContinue;
  984.                                                                                                                                                                                                             return chatType;
  985.                                                                                                                                                                                                         }
  986.                                                                                                                                                                                                     }
  987.                                                                                                                                                                                                     else
  988.                                                                                                                                                                                                     {
  989.                                                                                                                                                                                                         int num10 = Convert.ToInt32(serverCFG20);
  990.                                                                                                                                                                                                         if ((int)this.Points[Client.XUID] >= num10)
  991.                                                                                                                                                                                                         {
  992.                                                                                                                                                                                                             int weapon3 = base.GetWeapon("iw5_usas12_mp");
  993.                                                                                                                                                                                                             Client.Other.PrimaryWeapon = weapon3;
  994.                                                                                                                                                                                                             Client.Other.CurrentWeapon = weapon3;
  995.                                                                                                                                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num10;
  996.                                                                                                                                                                                                         }
  997.                                                                                                                                                                                                         else
  998.                                                                                                                                                                                                         {
  999.                                                                                                                                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  1000.                                                                                                                                                                                                         }
  1001.                                                                                                                                                                                                         chatType = ChatType.ChatContinue;
  1002.                                                                                                                                                                                                         return chatType;
  1003.                                                                                                                                                                                                     }
  1004.                                                                                                                                                                                                 }
  1005.                                                                                                                                                                                                 else
  1006.                                                                                                                                                                                                 {
  1007.                                                                                                                                                                                                     int num11 = Convert.ToInt32(str19);
  1008.                                                                                                                                                                                                     if ((int)this.Points[Client.XUID] >= num11)
  1009.                                                                                                                                                                                                     {
  1010.                                                                                                                                                                                                         int weapon4 = base.GetWeapon("iw5_aa12_mp");
  1011.                                                                                                                                                                                                         Client.Other.PrimaryWeapon = weapon4;
  1012.                                                                                                                                                                                                         Client.Other.CurrentWeapon = weapon4;
  1013.                                                                                                                                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num11;
  1014.                                                                                                                                                                                                     }
  1015.                                                                                                                                                                                                     else
  1016.                                                                                                                                                                                                     {
  1017.                                                                                                                                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  1018.                                                                                                                                                                                                     }
  1019.                                                                                                                                                                                                     chatType = ChatType.ChatContinue;
  1020.                                                                                                                                                                                                     return chatType;
  1021.                                                                                                                                                                                                 }
  1022.                                                                                                                                                                                             }
  1023.                                                                                                                                                                                             else
  1024.                                                                                                                                                                                             {
  1025.                                                                                                                                                                                                 int num12 = Convert.ToInt32(serverCFG19);
  1026.                                                                                                                                                                                                 if ((int)this.Points[Client.XUID] >= num12)
  1027.                                                                                                                                                                                                 {
  1028.                                                                                                                                                                                                     int weapon5 = base.GetWeapon("iw5_striker_mp");
  1029.                                                                                                                                                                                                     Client.Other.PrimaryWeapon = weapon5;
  1030.                                                                                                                                                                                                     Client.Other.CurrentWeapon = weapon5;
  1031.                                                                                                                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num12;
  1032.                                                                                                                                                                                                 }
  1033.                                                                                                                                                                                                 else
  1034.                                                                                                                                                                                                 {
  1035.                                                                                                                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1036.                                                                                                                                                                                                 }
  1037.                                                                                                                                                                                                 chatType = ChatType.ChatContinue;
  1038.                                                                                                                                                                                                 return chatType;
  1039.                                                                                                                                                                                             }
  1040.                                                                                                                                                                                         }
  1041.                                                                                                                                                                                         else
  1042.                                                                                                                                                                                         {
  1043.                                                                                                                                                                                             int num13 = Convert.ToInt32(str18);
  1044.                                                                                                                                                                                             if ((int)this.Points[Client.XUID] >= num13)
  1045.                                                                                                                                                                                             {
  1046.                                                                                                                                                                                                 int weapon6 = base.GetWeapon("iw5_1887_mp");
  1047.                                                                                                                                                                                                 Client.Other.PrimaryWeapon = weapon6;
  1048.                                                                                                                                                                                                 Client.Other.CurrentWeapon = weapon6;
  1049.                                                                                                                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num13;
  1050.                                                                                                                                                                                             }
  1051.                                                                                                                                                                                             else
  1052.                                                                                                                                                                                             {
  1053.                                                                                                                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  1054.                                                                                                                                                                                             }
  1055.                                                                                                                                                                                             chatType = ChatType.ChatContinue;
  1056.                                                                                                                                                                                             return chatType;
  1057.                                                                                                                                                                                         }
  1058.                                                                                                                                                                                     }
  1059.                                                                                                                                                                                     else
  1060.                                                                                                                                                                                     {
  1061.                                                                                                                                                                                         int num14 = Convert.ToInt32(serverCFG18);
  1062.                                                                                                                                                                                         if ((int)this.Points[Client.XUID] >= num14)
  1063.                                                                                                                                                                                         {
  1064.                                                                                                                                                                                             int weapon7 = base.GetWeapon("iw5_as50_mp_as50scope");
  1065.                                                                                                                                                                                             Client.Other.PrimaryWeapon = weapon7;
  1066.                                                                                                                                                                                             Client.Other.CurrentWeapon = weapon7;
  1067.                                                                                                                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num14;
  1068.                                                                                                                                                                                         }
  1069.                                                                                                                                                                                         else
  1070.                                                                                                                                                                                         {
  1071.                                                                                                                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  1072.                                                                                                                                                                                         }
  1073.                                                                                                                                                                                         chatType = ChatType.ChatContinue;
  1074.                                                                                                                                                                                         return chatType;
  1075.                                                                                                                                                                                     }
  1076.                                                                                                                                                                                 }
  1077.                                                                                                                                                                                 else
  1078.                                                                                                                                                                                 {
  1079.                                                                                                                                                                                     int num15 = Convert.ToInt32(str17);
  1080.                                                                                                                                                                                     if ((int)this.Points[Client.XUID] >= num15)
  1081.                                                                                                                                                                                     {
  1082.                                                                                                                                                                                         int weapon8 = base.GetWeapon("iw5_l96a1_mp_l96a1scope");
  1083.                                                                                                                                                                                         Client.Other.PrimaryWeapon = weapon8;
  1084.                                                                                                                                                                                         Client.Other.CurrentWeapon = weapon8;
  1085.                                                                                                                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num15;
  1086.                                                                                                                                                                                     }
  1087.                                                                                                                                                                                     else
  1088.                                                                                                                                                                                     {
  1089.                                                                                                                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  1090.                                                                                                                                                                                     }
  1091.                                                                                                                                                                                     chatType = ChatType.ChatContinue;
  1092.                                                                                                                                                                                     return chatType;
  1093.                                                                                                                                                                                 }
  1094.                                                                                                                                                                             }
  1095.                                                                                                                                                                             else
  1096.                                                                                                                                                                             {
  1097.                                                                                                                                                                                 int num16 = Convert.ToInt32(str16);
  1098.                                                                                                                                                                                 if ((int)this.Points[Client.XUID] >= num16)
  1099.                                                                                                                                                                                 {
  1100.                                                                                                                                                                                     int weapon9 = base.GetWeapon("iw5_dragunov_mp_dragunovscope");
  1101.                                                                                                                                                                                     Client.Other.PrimaryWeapon = weapon9;
  1102.                                                                                                                                                                                     Client.Other.CurrentWeapon = weapon9;
  1103.                                                                                                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num16;
  1104.                                                                                                                                                                                 }
  1105.                                                                                                                                                                                 else
  1106.                                                                                                                                                                                 {
  1107.                                                                                                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1108.                                                                                                                                                                                 }
  1109.                                                                                                                                                                                 chatType = ChatType.ChatContinue;
  1110.                                                                                                                                                                                 return chatType;
  1111.                                                                                                                                                                             }
  1112.                                                                                                                                                                         }
  1113.                                                                                                                                                                         else
  1114.                                                                                                                                                                         {
  1115.                                                                                                                                                                             int num17 = Convert.ToInt32(serverCFG17);
  1116.                                                                                                                                                                             if ((int)this.Points[Client.XUID] >= num17)
  1117.                                                                                                                                                                             {
  1118.                                                                                                                                                                                 int weapon10 = base.GetWeapon("iw5_msr_mp_msr_scope");
  1119.                                                                                                                                                                                 Client.Other.PrimaryWeapon = weapon10;
  1120.                                                                                                                                                                                 Client.Other.CurrentWeapon = weapon10;
  1121.                                                                                                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num17;
  1122.                                                                                                                                                                             }
  1123.                                                                                                                                                                             else
  1124.                                                                                                                                                                             {
  1125.                                                                                                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  1126.                                                                                                                                                                             }
  1127.                                                                                                                                                                             chatType = ChatType.ChatContinue;
  1128.                                                                                                                                                                             return chatType;
  1129.                                                                                                                                                                         }
  1130.                                                                                                                                                                     }
  1131.                                                                                                                                                                     else
  1132.                                                                                                                                                                     {
  1133.                                                                                                                                                                         int num18 = Convert.ToInt32(serverCFG16);
  1134.                                                                                                                                                                         if ((int)this.Points[Client.XUID] >= num18)
  1135.                                                                                                                                                                         {
  1136.                                                                                                                                                                             int weapon11 = base.GetWeapon("iw5_rsass_mp_rsassscope");
  1137.                                                                                                                                                                             Client.Other.PrimaryWeapon = weapon11;
  1138.                                                                                                                                                                             Client.Other.CurrentWeapon = weapon11;
  1139.                                                                                                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num18;
  1140.                                                                                                                                                                         }
  1141.                                                                                                                                                                         else
  1142.                                                                                                                                                                         {
  1143.                                                                                                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  1144.                                                                                                                                                                         }
  1145.                                                                                                                                                                         chatType = ChatType.ChatContinue;
  1146.                                                                                                                                                                         return chatType;
  1147.                                                                                                                                                                     }
  1148.                                                                                                                                                                 }
  1149.                                                                                                                                                                 else
  1150.                                                                                                                                                                 {
  1151.                                                                                                                                                                     int num19 = Convert.ToInt32(str15);
  1152.                                                                                                                                                                     if ((int)this.Points[Client.XUID] >= num19)
  1153.                                                                                                                                                                     {
  1154.                                                                                                                                                                         int weapon12 = base.GetWeapon("iw5_barrett_mp_barrettscope");
  1155.                                                                                                                                                                         Client.Other.PrimaryWeapon = weapon12;
  1156.                                                                                                                                                                         Client.Other.CurrentWeapon = weapon12;
  1157.                                                                                                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num19;
  1158.                                                                                                                                                                     }
  1159.                                                                                                                                                                     else
  1160.                                                                                                                                                                     {
  1161.                                                                                                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  1162.                                                                                                                                                                     }
  1163.                                                                                                                                                                     chatType = ChatType.ChatContinue;
  1164.                                                                                                                                                                     return chatType;
  1165.                                                                                                                                                                 }
  1166.                                                                                                                                                             }
  1167.                                                                                                                                                             else
  1168.                                                                                                                                                             {
  1169.                                                                                                                                                                 int num20 = Convert.ToInt32(serverCFG23);
  1170.                                                                                                                                                                 if ((int)this.Points[Client.XUID] >= num20)
  1171.                                                                                                                                                                 {
  1172.                                                                                                                                                                     int weapon13 = base.GetWeapon("claymore_mp");
  1173.                                                                                                                                                                     Client.Other.Equipment = weapon13;
  1174.                                                                                                                                                                     Client.Ammo.EquipmentAmmo = 2;
  1175.                                                                                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num20;
  1176.                                                                                                                                                                 }
  1177.                                                                                                                                                                 else
  1178.                                                                                                                                                                 {
  1179.                                                                                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1180.                                                                                                                                                                 }
  1181.                                                                                                                                                                 chatType = ChatType.ChatContinue;
  1182.                                                                                                                                                                 return chatType;
  1183.                                                                                                                                                             }
  1184.                                                                                                                                                         }
  1185.                                                                                                                                                         else
  1186.                                                                                                                                                         {
  1187.                                                                                                                                                             int num21 = Convert.ToInt32(serverCFG15);
  1188.                                                                                                                                                             if ((int)this.Points[Client.XUID] >= num21)
  1189.                                                                                                                                                             {
  1190.                                                                                                                                                                 int weapon14 = base.GetWeapon("iw5_cm901_mp");
  1191.                                                                                                                                                                 Client.Other.PrimaryWeapon = weapon14;
  1192.                                                                                                                                                                 Client.Other.CurrentWeapon = weapon14;
  1193.                                                                                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num21;
  1194.                                                                                                                                                             }
  1195.                                                                                                                                                             else
  1196.                                                                                                                                                             {
  1197.                                                                                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  1198.                                                                                                                                                             }
  1199.                                                                                                                                                             chatType = ChatType.ChatContinue;
  1200.                                                                                                                                                             return chatType;
  1201.                                                                                                                                                         }
  1202.                                                                                                                                                     }
  1203.                                                                                                                                                     else
  1204.                                                                                                                                                     {
  1205.                                                                                                                                                         int num22 = Convert.ToInt32(str14);
  1206.                                                                                                                                                         if ((int)this.Points[Client.XUID] >= num22)
  1207.                                                                                                                                                         {
  1208.                                                                                                                                                             int weapon15 = base.GetWeapon("iw5_g36c_mp");
  1209.                                                                                                                                                             Client.Other.PrimaryWeapon = weapon15;
  1210.                                                                                                                                                             Client.Other.CurrentWeapon = weapon15;
  1211.                                                                                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num22;
  1212.                                                                                                                                                         }
  1213.                                                                                                                                                         else
  1214.                                                                                                                                                         {
  1215.                                                                                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  1216.                                                                                                                                                         }
  1217.                                                                                                                                                         chatType = ChatType.ChatContinue;
  1218.                                                                                                                                                         return chatType;
  1219.                                                                                                                                                     }
  1220.                                                                                                                                                 }
  1221.                                                                                                                                                 else
  1222.                                                                                                                                                 {
  1223.                                                                                                                                                     int num23 = Convert.ToInt32(serverCFG14);
  1224.                                                                                                                                                     if ((int)this.Points[Client.XUID] >= num23)
  1225.                                                                                                                                                     {
  1226.                                                                                                                                                         int weapon16 = base.GetWeapon("iw5_scar_mp");
  1227.                                                                                                                                                         Client.Other.PrimaryWeapon = weapon16;
  1228.                                                                                                                                                         Client.Other.CurrentWeapon = weapon16;
  1229.                                                                                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num23;
  1230.                                                                                                                                                     }
  1231.                                                                                                                                                     else
  1232.                                                                                                                                                     {
  1233.                                                                                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  1234.                                                                                                                                                     }
  1235.                                                                                                                                                     chatType = ChatType.ChatContinue;
  1236.                                                                                                                                                     return chatType;
  1237.                                                                                                                                                 }
  1238.                                                                                                                                             }
  1239.                                                                                                                                             else
  1240.                                                                                                                                             {
  1241.                                                                                                                                                 int num24 = Convert.ToInt32(str13);
  1242.                                                                                                                                                 if ((int)this.Points[Client.XUID] >= num24)
  1243.                                                                                                                                                 {
  1244.                                                                                                                                                     int weapon17 = base.GetWeapon("iw5_mk14_mp");
  1245.                                                                                                                                                     Client.Other.PrimaryWeapon = weapon17;
  1246.                                                                                                                                                     Client.Other.CurrentWeapon = weapon17;
  1247.                                                                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num24;
  1248.                                                                                                                                                 }
  1249.                                                                                                                                                 else
  1250.                                                                                                                                                 {
  1251.                                                                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1252.                                                                                                                                                 }
  1253.                                                                                                                                                 chatType = ChatType.ChatContinue;
  1254.                                                                                                                                                 return chatType;
  1255.                                                                                                                                             }
  1256.                                                                                                                                         }
  1257.                                                                                                                                         else
  1258.                                                                                                                                         {
  1259.                                                                                                                                             int num25 = Convert.ToInt32(serverCFG13);
  1260.                                                                                                                                             if ((int)this.Points[Client.XUID] >= num25)
  1261.                                                                                                                                             {
  1262.                                                                                                                                                 int weapon18 = base.GetWeapon("iw5_acr_mp");
  1263.                                                                                                                                                 Client.Other.PrimaryWeapon = weapon18;
  1264.                                                                                                                                                 Client.Other.CurrentWeapon = weapon18;
  1265.                                                                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num25;
  1266.                                                                                                                                             }
  1267.                                                                                                                                             else
  1268.                                                                                                                                             {
  1269.                                                                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  1270.                                                                                                                                             }
  1271.                                                                                                                                             chatType = ChatType.ChatContinue;
  1272.                                                                                                                                             return chatType;
  1273.                                                                                                                                         }
  1274.                                                                                                                                     }
  1275.                                                                                                                                     else
  1276.                                                                                                                                     {
  1277.                                                                                                                                         int num26 = Convert.ToInt32(str12);
  1278.                                                                                                                                         if ((int)this.Points[Client.XUID] >= num26)
  1279.                                                                                                                                         {
  1280.                                                                                                                                             int weapon19 = base.GetWeapon("iw5_fad_mp");
  1281.                                                                                                                                             Client.Other.PrimaryWeapon = weapon19;
  1282.                                                                                                                                             Client.Other.CurrentWeapon = weapon19;
  1283.                                                                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num26;
  1284.                                                                                                                                         }
  1285.                                                                                                                                         else
  1286.                                                                                                                                         {
  1287.                                                                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  1288.                                                                                                                                         }
  1289.                                                                                                                                         chatType = ChatType.ChatContinue;
  1290.                                                                                                                                         return chatType;
  1291.                                                                                                                                     }
  1292.                                                                                                                                 }
  1293.                                                                                                                                 else
  1294.                                                                                                                                 {
  1295.                                                                                                                                     int num27 = Convert.ToInt32(serverCFG12);
  1296.                                                                                                                                     if ((int)this.Points[Client.XUID] >= num27)
  1297.                                                                                                                                     {
  1298.                                                                                                                                         int weapon20 = base.GetWeapon("iw5_m16_mp");
  1299.                                                                                                                                         Client.Other.PrimaryWeapon = weapon20;
  1300.                                                                                                                                         Client.Other.CurrentWeapon = weapon20;
  1301.                                                                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num27;
  1302.                                                                                                                                     }
  1303.                                                                                                                                     else
  1304.                                                                                                                                     {
  1305.                                                                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  1306.                                                                                                                                     }
  1307.                                                                                                                                     chatType = ChatType.ChatContinue;
  1308.                                                                                                                                     return chatType;
  1309.                                                                                                                                 }
  1310.                                                                                                                             }
  1311.                                                                                                                             else
  1312.                                                                                                                             {
  1313.                                                                                                                                 int num28 = Convert.ToInt32(str11);
  1314.                                                                                                                                 if ((int)this.Points[Client.XUID] >= num28)
  1315.                                                                                                                                 {
  1316.                                                                                                                                     int weapon21 = base.GetWeapon("iw5_ak47_mp");
  1317.                                                                                                                                     Client.Other.PrimaryWeapon = weapon21;
  1318.                                                                                                                                     Client.Other.CurrentWeapon = weapon21;
  1319.                                                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num28;
  1320.                                                                                                                                 }
  1321.                                                                                                                                 else
  1322.                                                                                                                                 {
  1323.                                                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1324.                                                                                                                                 }
  1325.                                                                                                                                 chatType = ChatType.ChatContinue;
  1326.                                                                                                                                 return chatType;
  1327.                                                                                                                             }
  1328.                                                                                                                         }
  1329.                                                                                                                         else
  1330.                                                                                                                         {
  1331.                                                                                                                             int num29 = Convert.ToInt32(serverCFG11);
  1332.                                                                                                                             if ((int)this.Points[Client.XUID] >= num29)
  1333.                                                                                                                             {
  1334.                                                                                                                                 int weapon22 = base.GetWeapon("iw5_m4_mp");
  1335.                                                                                                                                 Client.Other.PrimaryWeapon = weapon22;
  1336.                                                                                                                                 Client.Other.CurrentWeapon = weapon22;
  1337.                                                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num29;
  1338.                                                                                                                             }
  1339.                                                                                                                             else
  1340.                                                                                                                             {
  1341.                                                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  1342.                                                                                                                             }
  1343.                                                                                                                             chatType = ChatType.ChatContinue;
  1344.                                                                                                                             return chatType;
  1345.                                                                                                                         }
  1346.                                                                                                                     }
  1347.                                                                                                                     else
  1348.                                                                                                                     {
  1349.                                                                                                                         int num30 = Convert.ToInt32(str10);
  1350.                                                                                                                         if ((int)this.Points[Client.XUID] >= num30)
  1351.                                                                                                                         {
  1352.                                                                                                                             int weapon23 = base.GetWeapon("iw5_mg36_mp");
  1353.                                                                                                                             Client.Other.PrimaryWeapon = weapon23;
  1354.                                                                                                                             Client.Other.CurrentWeapon = weapon23;
  1355.                                                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num30;
  1356.                                                                                                                         }
  1357.                                                                                                                         else
  1358.                                                                                                                         {
  1359.                                                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  1360.                                                                                                                         }
  1361.                                                                                                                         chatType = ChatType.ChatContinue;
  1362.                                                                                                                         return chatType;
  1363.                                                                                                                     }
  1364.                                                                                                                 }
  1365.                                                                                                                 else
  1366.                                                                                                                 {
  1367.                                                                                                                     int num31 = Convert.ToInt32(serverCFG10);
  1368.                                                                                                                     if ((int)this.Points[Client.XUID] >= num31)
  1369.                                                                                                                     {
  1370.                                                                                                                         int weapon24 = base.GetWeapon("iw5_sa80_mp");
  1371.                                                                                                                         Client.Other.PrimaryWeapon = weapon24;
  1372.                                                                                                                         Client.Other.CurrentWeapon = weapon24;
  1373.                                                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num31;
  1374.                                                                                                                     }
  1375.                                                                                                                     else
  1376.                                                                                                                     {
  1377.                                                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  1378.                                                                                                                     }
  1379.                                                                                                                     chatType = ChatType.ChatContinue;
  1380.                                                                                                                     return chatType;
  1381.                                                                                                                 }
  1382.                                                                                                             }
  1383.                                                                                                             else
  1384.                                                                                                             {
  1385.                                                                                                                 int num32 = Convert.ToInt32(str9);
  1386.                                                                                                                 if ((int)this.Points[Client.XUID] >= num32)
  1387.                                                                                                                 {
  1388.                                                                                                                     int weapon25 = base.GetWeapon("iw5_pecheneg_mp");
  1389.                                                                                                                     Client.Other.PrimaryWeapon = weapon25;
  1390.                                                                                                                     Client.Other.CurrentWeapon = weapon25;
  1391.                                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num32;
  1392.                                                                                                                 }
  1393.                                                                                                                 else
  1394.                                                                                                                 {
  1395.                                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1396.                                                                                                                 }
  1397.                                                                                                                 chatType = ChatType.ChatContinue;
  1398.                                                                                                                 return chatType;
  1399.                                                                                                             }
  1400.                                                                                                         }
  1401.                                                                                                         else
  1402.                                                                                                         {
  1403.                                                                                                             int num33 = Convert.ToInt32(serverCFG9);
  1404.                                                                                                             if ((int)this.Points[Client.XUID] >= num33)
  1405.                                                                                                             {
  1406.                                                                                                                 int weapon26 = base.GetWeapon("iw5_mk46_mp");
  1407.                                                                                                                 Client.Other.PrimaryWeapon = weapon26;
  1408.                                                                                                                 Client.Other.CurrentWeapon = weapon26;
  1409.                                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num33;
  1410.                                                                                                             }
  1411.                                                                                                             else
  1412.                                                                                                             {
  1413.                                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  1414.                                                                                                             }
  1415.                                                                                                             chatType = ChatType.ChatContinue;
  1416.                                                                                                             return chatType;
  1417.                                                                                                         }
  1418.                                                                                                     }
  1419.                                                                                                     else
  1420.                                                                                                     {
  1421.                                                                                                         int num34 = Convert.ToInt32(str8);
  1422.                                                                                                         if ((int)this.Points[Client.XUID] >= num34)
  1423.                                                                                                         {
  1424.                                                                                                             int weapon27 = base.GetWeapon("iw5_m60_mp");
  1425.                                                                                                             Client.Other.PrimaryWeapon = weapon27;
  1426.                                                                                                             Client.Other.CurrentWeapon = weapon27;
  1427.                                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num34;
  1428.                                                                                                         }
  1429.                                                                                                         else
  1430.                                                                                                         {
  1431.                                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  1432.                                                                                                         }
  1433.                                                                                                         chatType = ChatType.ChatContinue;
  1434.                                                                                                         return chatType;
  1435.                                                                                                     }
  1436.                                                                                                 }
  1437.                                                                                                 else
  1438.                                                                                                 {
  1439.                                                                                                     int num35 = Convert.ToInt32(serverCFG8);
  1440.                                                                                                     if ((int)this.Points[Client.XUID] >= num35)
  1441.                                                                                                     {
  1442.                                                                                                         int weapon28 = base.GetWeapon("iw5_ump45_mp");
  1443.                                                                                                         Client.Other.PrimaryWeapon = weapon28;
  1444.                                                                                                         Client.Other.CurrentWeapon = weapon28;
  1445.                                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num35;
  1446.                                                                                                     }
  1447.                                                                                                     else
  1448.                                                                                                     {
  1449.                                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  1450.                                                                                                     }
  1451.                                                                                                     chatType = ChatType.ChatContinue;
  1452.                                                                                                     return chatType;
  1453.                                                                                                 }
  1454.                                                                                             }
  1455.                                                                                             else
  1456.                                                                                             {
  1457.                                                                                                 int num36 = Convert.ToInt32(str7);
  1458.                                                                                                 if ((int)this.Points[Client.XUID] >= num36)
  1459.                                                                                                 {
  1460.                                                                                                     int weapon29 = base.GetWeapon("iw5_pp90m1_mp");
  1461.                                                                                                     Client.Other.PrimaryWeapon = weapon29;
  1462.                                                                                                     Client.Other.CurrentWeapon = weapon29;
  1463.                                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num36;
  1464.                                                                                                 }
  1465.                                                                                                 else
  1466.                                                                                                 {
  1467.                                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1468.                                                                                                 }
  1469.                                                                                                 chatType = ChatType.ChatContinue;
  1470.                                                                                                 return chatType;
  1471.                                                                                             }
  1472.                                                                                         }
  1473.                                                                                         else
  1474.                                                                                         {
  1475.                                                                                             int num37 = Convert.ToInt32(serverCFG7);
  1476.                                                                                             if ((int)this.Points[Client.XUID] >= num37)
  1477.                                                                                             {
  1478.                                                                                                 int weapon30 = base.GetWeapon("iw5_p90_mp");
  1479.                                                                                                 Client.Other.PrimaryWeapon = weapon30;
  1480.                                                                                                 Client.Other.CurrentWeapon = weapon30;
  1481.                                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num37;
  1482.                                                                                             }
  1483.                                                                                             else
  1484.                                                                                             {
  1485.                                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  1486.                                                                                             }
  1487.                                                                                             chatType = ChatType.ChatContinue;
  1488.                                                                                             return chatType;
  1489.                                                                                         }
  1490.                                                                                     }
  1491.                                                                                     else
  1492.                                                                                     {
  1493.                                                                                         int num38 = Convert.ToInt32(str6);
  1494.                                                                                         if ((int)this.Points[Client.XUID] >= num38)
  1495.                                                                                         {
  1496.                                                                                             int weapon31 = base.GetWeapon("iw5_m9_mp");
  1497.                                                                                             Client.Other.PrimaryWeapon = weapon31;
  1498.                                                                                             Client.Other.CurrentWeapon = weapon31;
  1499.                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num38;
  1500.                                                                                         }
  1501.                                                                                         else
  1502.                                                                                         {
  1503.                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  1504.                                                                                         }
  1505.                                                                                         chatType = ChatType.ChatContinue;
  1506.                                                                                         return chatType;
  1507.                                                                                     }
  1508.                                                                                 }
  1509.                                                                                 else
  1510.                                                                                 {
  1511.                                                                                     int num39 = Convert.ToInt32(serverCFG6);
  1512.                                                                                     if ((int)this.Points[Client.XUID] >= num39)
  1513.                                                                                     {
  1514.                                                                                         int weapon32 = base.GetWeapon("iw5_mp7_mp");
  1515.                                                                                         Client.Other.PrimaryWeapon = weapon32;
  1516.                                                                                         Client.Other.CurrentWeapon = weapon32;
  1517.                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num39;
  1518.                                                                                     }
  1519.                                                                                     else
  1520.                                                                                     {
  1521.                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  1522.                                                                                     }
  1523.                                                                                     chatType = ChatType.ChatContinue;
  1524.                                                                                     return chatType;
  1525.                                                                                 }
  1526.                                                                             }
  1527.                                                                             else
  1528.                                                                             {
  1529.                                                                                 int num40 = Convert.ToInt32(str5);
  1530.                                                                                 if ((int)this.Points[Client.XUID] >= num40)
  1531.                                                                                 {
  1532.                                                                                     int weapon33 = base.GetWeapon("iw5_mp5_mp");
  1533.                                                                                     Client.Other.PrimaryWeapon = weapon33;
  1534.                                                                                     Client.Other.CurrentWeapon = weapon33;
  1535.                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num40;
  1536.                                                                                 }
  1537.                                                                                 else
  1538.                                                                                 {
  1539.                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1540.                                                                                 }
  1541.                                                                                 chatType = ChatType.ChatContinue;
  1542.                                                                                 return chatType;
  1543.                                                                             }
  1544.                                                                         }
  1545.                                                                         else
  1546.                                                                         {
  1547.                                                                             int num41 = Convert.ToInt32(serverCFG22);
  1548.                                                                             if ((int)this.Points[Client.XUID] >= num41)
  1549.                                                                             {
  1550.                                                                                 base.PlaySoundAtOrigin(new Vector(Client.OriginX, Client.OriginY, Client.OriginZ), "ammo_crate_use");
  1551.                                                                                 base.iPrintLnBold("^2180 Ammo bullets bought!", Client);
  1552.                                                                                 Client.Ammo.PrimaryAmmoClip = 180;
  1553.                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num41;
  1554.                                                                             }
  1555.                                                                             else
  1556.                                                                             {
  1557.                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  1558.                                                                             }
  1559.                                                                             chatType = ChatType.ChatContinue;
  1560.                                                                             return chatType;
  1561.                                                                         }
  1562.                                                                     }
  1563.                                                                     if (Client.Team == Teams.Axis)
  1564.                                                                     {
  1565.                                                                         if (Message == "!health")
  1566.                                                                         {
  1567.                                                                             int num42 = Convert.ToInt32(str22);
  1568.                                                                             if ((int)this.ZHP[Client.XUID] > 0x28a)
  1569.                                                                             {
  1570.                                                                                 base.iPrintLnBold("^1You can't increase health more.", Client);
  1571.                                                                             }
  1572.                                                                             else
  1573.                                                                             {
  1574.                                                                                 if ((int)this.Points[Client.XUID] >= num42)
  1575.                                                                                 {
  1576.                                                                                     this.ZHP[Client.XUID] = (int)this.ZHP[Client.XUID] + 50;
  1577.                                                                                     Client.Other.Health = (int)this.ZHP[Client.XUID];
  1578.                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num42;
  1579.                                                                                     base.iPrintLnBold(string.Concat("^2Your current health is: ^2", (int)this.ZHP[Client.XUID]), Client);
  1580.                                                                                 }
  1581.                                                                                 else
  1582.                                                                                 {
  1583.                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1584.                                                                                 }
  1585.                                                                                 chatType = ChatType.ChatContinue;
  1586.                                                                                 return chatType;
  1587.                                                                             }
  1588.                                                                         }
  1589.                                                                         if (Message != "!empgrenade")
  1590.                                                                         {
  1591.                                                                             if (Message != "!throwing_knife")
  1592.                                                                             {
  1593.                                                                                 if (Message != "!coldblood")
  1594.                                                                                 {
  1595.                                                                                     if (Message == "!stalker")
  1596.                                                                                     {
  1597.                                                                                         int num43 = Convert.ToInt32(serverCFG5);
  1598.                                                                                         if ((int)this.Points[Client.XUID] >= num43)
  1599.                                                                                         {
  1600.                                                                                             Client.Other.SetPerk(base.GetPerk("specialty_stalker"));
  1601.                                                                                             this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num43;
  1602.                                                                                         }
  1603.                                                                                         else
  1604.                                                                                         {
  1605.                                                                                             base.iPrintLnBold("^1You do not have enough points!", Client);
  1606.                                                                                         }
  1607.                                                                                         chatType = ChatType.ChatContinue;
  1608.                                                                                         return chatType;
  1609.                                                                                     }
  1610.                                                                                 }
  1611.                                                                                 else
  1612.                                                                                 {
  1613.                                                                                     int num44 = Convert.ToInt32(str4);
  1614.                                                                                     if ((int)this.Points[Client.XUID] >= num44)
  1615.                                                                                     {
  1616.                                                                                         Client.Other.SetPerk(base.GetPerk("specialty_coldblooded"));
  1617.                                                                                         this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num44;
  1618.                                                                                     }
  1619.                                                                                     else
  1620.                                                                                     {
  1621.                                                                                         base.iPrintLnBold("^1You do not have enough points!", Client);
  1622.                                                                                     }
  1623.                                                                                     chatType = ChatType.ChatContinue;
  1624.                                                                                     return chatType;
  1625.                                                                                 }
  1626.                                                                             }
  1627.                                                                             else
  1628.                                                                             {
  1629.                                                                                 int num45 = Convert.ToInt32(str);
  1630.                                                                                 if ((int)this.Points[Client.XUID] >= num45)
  1631.                                                                                 {
  1632.                                                                                     int weapon34 = base.GetWeapon("throwingknife_mp");
  1633.                                                                                     Client.Other.Equipment = weapon34;
  1634.                                                                                     Client.Ammo.EquipmentAmmo = 2;
  1635.                                                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num45;
  1636.                                                                                 }
  1637.                                                                                 else
  1638.                                                                                 {
  1639.                                                                                     base.iPrintLnBold("^1You do not have enough points!", Client);
  1640.                                                                                 }
  1641.                                                                                 chatType = ChatType.ChatContinue;
  1642.                                                                                 return chatType;
  1643.                                                                             }
  1644.                                                                         }
  1645.                                                                         else
  1646.                                                                         {
  1647.                                                                             int num46 = Convert.ToInt32(serverCFG);
  1648.                                                                             if ((int)this.Points[Client.XUID] >= num46)
  1649.                                                                             {
  1650.                                                                                 int weapon35 = base.GetWeapon("emp_grenade_mp");
  1651.                                                                                 Client.Other.OffhandWeapon = weapon35;
  1652.                                                                                 Client.Ammo.OffhandAmmo = 2;
  1653.                                                                                 this.Points[Client.XUID] = (int)this.Points[Client.XUID] - num46;
  1654.                                                                             }
  1655.                                                                             else
  1656.                                                                             {
  1657.                                                                                 base.iPrintLnBold("^1You do not have enough points!", Client);
  1658.                                                                             }
  1659.                                                                             chatType = ChatType.ChatContinue;
  1660.                                                                             return chatType;
  1661.                                                                         }
  1662.                                                                     }
  1663.                                                                     return 0;
  1664.                                                                 }
  1665.                                                                 else
  1666.                                                                 {
  1667.                                                                     strArrays = new string[7];
  1668.                                                                     strArrays[0] = "^3!rpg^2[";
  1669.                                                                     strArrays[1] = str21;
  1670.                                                                     strArrays[2] = "]^7|^3!xm25^2[";
  1671.                                                                     strArrays[3] = serverCFG21;
  1672.                                                                     strArrays[4] = "]^7|^3!claymore^2[";
  1673.                                                                     strArrays[5] = serverCFG23;
  1674.                                                                     strArrays[6] = "]";
  1675.                                                                     base.iPrintLnBold(string.Concat(strArrays), Client);
  1676.                                                                     chatType = ChatType.ChatContinue;
  1677.                                                                 }
  1678.                                                             }
  1679.                                                             else
  1680.                                                             {
  1681.                                                                 strArrays = new string[11];
  1682.                                                                 strArrays[0] = "^3!model^2[";
  1683.                                                                 strArrays[1] = str18;
  1684.                                                                 strArrays[2] = "]^7|^3!striker^2[";
  1685.                                                                 strArrays[3] = serverCFG19;
  1686.                                                                 strArrays[4] = "]^7|^3!aa12^2[";
  1687.                                                                 strArrays[5] = str19;
  1688.                                                                 strArrays[6] = "]^7|^3!usas12^2[";
  1689.                                                                 strArrays[7] = serverCFG20;
  1690.                                                                 strArrays[8] = "]^7|^3!spas12^2[";
  1691.                                                                 strArrays[9] = str20;
  1692.                                                                 strArrays[10] = "]";
  1693.                                                                 base.iPrintLnBold(string.Concat(strArrays), Client);
  1694.                                                                 chatType = ChatType.ChatContinue;
  1695.                                                             }
  1696.                                                         }
  1697.                                                         else
  1698.                                                         {
  1699.                                                             strArrays = new string[13];
  1700.                                                             strArrays[0] = "^3!barret^2[";
  1701.                                                             strArrays[1] = str15;
  1702.                                                             strArrays[2] = "]^7|^3!rsass^2[";
  1703.                                                             strArrays[3] = serverCFG16;
  1704.                                                             strArrays[4] = "]^7|^3!dragunov^2[";
  1705.                                                             strArrays[5] = str16;
  1706.                                                             strArrays[6] = "]^7|^3!msr^2[";
  1707.                                                             strArrays[7] = serverCFG17;
  1708.                                                             strArrays[8] = "]^7|^3!l96a1^2[";
  1709.                                                             strArrays[9] = str17;
  1710.                                                             strArrays[10] = "]^7|^3!as50^2[";
  1711.                                                             strArrays[11] = serverCFG18;
  1712.                                                             strArrays[12] = "]";
  1713.                                                             base.iPrintLnBold(string.Concat(strArrays), Client);
  1714.                                                             chatType = ChatType.ChatContinue;
  1715.                                                         }
  1716.                                                     }
  1717.                                                     else
  1718.                                                     {
  1719.                                                         strArrays = new string[19];
  1720.                                                         strArrays[0] = "^3!m4^2[";
  1721.                                                         strArrays[1] = serverCFG11;
  1722.                                                         strArrays[2] = "]^7|^3!ak47^2[";
  1723.                                                         strArrays[3] = str11;
  1724.                                                         strArrays[4] = "]^7|^3!m16^2[";
  1725.                                                         strArrays[5] = serverCFG12;
  1726.                                                         strArrays[6] = "]^7|^3!fad^2[";
  1727.                                                         strArrays[7] = str12;
  1728.                                                         strArrays[8] = "]^7|^3!acr^2[";
  1729.                                                         strArrays[9] = serverCFG13;
  1730.                                                         strArrays[10] = "]^7|^3!mk14^2[";
  1731.                                                         strArrays[11] = str13;
  1732.                                                         strArrays[12] = "]^7|^3!scar^2[";
  1733.                                                         strArrays[13] = serverCFG14;
  1734.                                                         strArrays[14] = "]^7|^3!g36^2[";
  1735.                                                         strArrays[15] = str14;
  1736.                                                         strArrays[16] = "]^7|^3!cm901^2[";
  1737.                                                         strArrays[17] = serverCFG15;
  1738.                                                         strArrays[18] = "]";
  1739.                                                         base.iPrintLnBold(string.Concat(strArrays), Client);
  1740.                                                         chatType = ChatType.ChatContinue;
  1741.                                                     }
  1742.                                                 }
  1743.                                                 else
  1744.                                                 {
  1745.                                                     strArrays = new string[11];
  1746.                                                     strArrays[0] = "^3!m60^2[";
  1747.                                                     strArrays[1] = str8;
  1748.                                                     strArrays[2] = "]^7|^3!mk46^2[";
  1749.                                                     strArrays[3] = serverCFG9;
  1750.                                                     strArrays[4] = "]^7|^3!pech^2[";
  1751.                                                     strArrays[5] = str9;
  1752.                                                     strArrays[6] = "]^7|^3!l86^2[";
  1753.                                                     strArrays[7] = serverCFG10;
  1754.                                                     strArrays[8] = "]^7|^3!mg36^2[";
  1755.                                                     strArrays[9] = str10;
  1756.                                                     strArrays[10] = "]";
  1757.                                                     base.iPrintLnBold(string.Concat(strArrays), Client);
  1758.                                                     chatType = ChatType.ChatContinue;
  1759.                                                 }
  1760.                                             }
  1761.                                             else
  1762.                                             {
  1763.                                                 strArrays = new string[13];
  1764.                                                 strArrays[0] = "^3!mp5^2[";
  1765.                                                 strArrays[1] = str5;
  1766.                                                 strArrays[2] = "]^7|^3!mp7^2[";
  1767.                                                 strArrays[3] = serverCFG6;
  1768.                                                 strArrays[4] = "]^7|^3!pm9^2[";
  1769.                                                 strArrays[5] = str6;
  1770.                                                 strArrays[6] = "]^7|^3P90^2[";
  1771.                                                 strArrays[7] = serverCFG7;
  1772.                                                 strArrays[8] = "]^7|^3!pp90^2[";
  1773.                                                 strArrays[9] = str7;
  1774.                                                 strArrays[10] = "]^7|^3!ump45^2[";
  1775.                                                 strArrays[11] = serverCFG8;
  1776.                                                 strArrays[12] = "]";
  1777.                                                 base.iPrintLnBold(string.Concat(strArrays), Client);
  1778.                                                 chatType = ChatType.ChatContinue;
  1779.                                             }
  1780.                                         }
  1781.                                         else
  1782.                                         {
  1783.                                             if (Client.Team == Teams.Allies)
  1784.                                             {
  1785.                                                 strArrays = new string[15];
  1786.                                                 strArrays[0] = "!fastermelee^2[";
  1787.                                                 strArrays[1] = serverCFG1;
  1788.                                                 strArrays[2] = "]^7|^3!fastreload^2[";
  1789.                                                 strArrays[3] = str1;
  1790.                                                 strArrays[4] = "]^7|^3!scavenger^2[";
  1791.                                                 strArrays[5] = serverCFG2;
  1792.                                                 strArrays[6] = "]^7|^3!blindeye^2[";
  1793.                                                 strArrays[7] = str2;
  1794.                                                 strArrays[8] = "]^7|^3!coldblood^2[";
  1795.                                                 strArrays[9] = serverCFG3;
  1796.                                                 strArrays[10] = "]^7|^3!bulletaccuracy^2[";
  1797.                                                 strArrays[11] = str3;
  1798.                                                 strArrays[12] = "]^7|^3!stalker^2[";
  1799.                                                 strArrays[13] = serverCFG4;
  1800.                                                 strArrays[14] = "]";
  1801.                                                 base.iPrintLnBold(string.Concat(strArrays), Client);
  1802.                                             }
  1803.                                             if (Client.Team == Teams.Axis)
  1804.                                             {
  1805.                                                 strArrays = new string[5];
  1806.                                                 strArrays[0] = "^1For infected:^7|^3!coldblood ^2[";
  1807.                                                 strArrays[1] = str4;
  1808.                                                 strArrays[2] = "]^7|^3!stalker ^2[";
  1809.                                                 strArrays[3] = serverCFG5;
  1810.                                                 strArrays[4] = "]^3";
  1811.                                                 base.iPrintLnBold(string.Concat(strArrays), Client);
  1812.                                             }
  1813.                                             chatType = ChatType.ChatContinue;
  1814.                                         }
  1815.                                     }
  1816.                                     else
  1817.                                     {
  1818.                                         if (Client.Team == Teams.Allies)
  1819.                                         {
  1820.                                             base.iPrintLnBold("!smg^7-^2SMGs^7|^3!lmg^7-^2LMGs^7|^3!assault^7-^2Assaults^7|^3!snipe^7-^2Snipers^7|^3!shotguns^7-^2Shotguns^7|^3!expl^7-^2Explosives", Client);
  1821.                                         }
  1822.                                         if (Client.Team == Teams.Axis)
  1823.                                         {
  1824.                                             base.iPrintLnBold("^1You can't use it", Client);
  1825.                                         }
  1826.                                         chatType = ChatType.ChatContinue;
  1827.                                     }
  1828.                                 }
  1829.                                 else
  1830.                                 {
  1831.                                     if (Client.Team == Teams.Allies)
  1832.                                     {
  1833.                                         base.TellClient(Client.ClientNum, "^1!weapons^7 - ^3shows weapon list\n^1!perks^7 - ^3shows perk list", true);
  1834.                                     }
  1835.                                     if (Client.Team == Teams.Axis)
  1836.                                     {
  1837.                                         strArrays = new string[7];
  1838.                                         strArrays[0] = "^3!empgrenade ^2[";
  1839.                                         strArrays[1] = serverCFG;
  1840.                                         strArrays[2] = "]^7|^3!throwing_knife ^2[";
  1841.                                         strArrays[3] = str;
  1842.                                         strArrays[4] = "]^7|^3!health ^2[";
  1843.                                         strArrays[5] = str22;
  1844.                                         strArrays[6] = "]";
  1845.                                         base.iPrintLnBold(string.Concat(strArrays), Client);
  1846.                                     }
  1847.                                     chatType = ChatType.ChatContinue;
  1848.                                 }
  1849.                             }
  1850.                             else
  1851.                             {
  1852.                                 try
  1853.                                 {
  1854.                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] + 100;
  1855.                                     base.iPrintLnBold(string.Concat("^5Currently you have ^1", (int)this.Points[Client.XUID], "^5 points"), Client);
  1856.                                 }
  1857.                                 catch (Exception exception1)
  1858.                                 {
  1859.                                     Exception exception = exception1;
  1860.                                     base.iPrintLn(string.Concat("[^1DEV^7]: ", exception.Message), Client);
  1861.                                 }
  1862.                                 chatType = ChatType.ChatContinue;
  1863.                             }
  1864.                         }
  1865.                         else
  1866.                         {
  1867.                             if (Client.Stats.Kills < 5)
  1868.                             {
  1869.                                 base.iPrintLnBold("^1You can't activate special ability. You need to earn specific kills.", Client);
  1870.                             }
  1871.                             else
  1872.                             {
  1873.                                 if (Client.Team != Teams.Allies)
  1874.                                 {
  1875.                                     if (Client.Team == Teams.Axis)
  1876.                                     {
  1877.                                         base.iPrintLnBold("^1Not allowed for Walkers", Client);
  1878.                                     }
  1879.                                 }
  1880.                                 else
  1881.                                 {
  1882.                                     if ((int)this.sa[Client.XUID] < 2)
  1883.                                     {
  1884.                                         if ((int)this.sa[Client.XUID] <= 2)
  1885.                                         {
  1886.                                             base.iPrintLnBold("^1You can't use it now. You don't have enough special points!", Client);
  1887.                                         }
  1888.                                     }
  1889.                                     else
  1890.                                     {
  1891.                                         this.sa[Client.XUID] = (int)this.sa[Client.XUID] - (int)this.sa[Client.XUID] + 1;
  1892.                                         Random random = new Random();
  1893.                                         int num47 = random.Next(1, 4);
  1894.                                         switch (num47)
  1895.                                         {
  1896.                                             case 1:
  1897.                                                 {
  1898.                                                     base.iPrintLnBold("^1Your random ^3special ability ^1is: Free ammo!", Client);
  1899.                                                     Client.Ammo.PrimaryAmmo = 5;
  1900.                                                     Client.Ammo.PrimaryAmmoClip = 80;
  1901.                                                     Client.Ammo.SecondaryAmmo = 5;
  1902.                                                     Client.Ammo.SecondaryAmmoClip = 80;
  1903.                                                     break;
  1904.                                                 }
  1905.                                             case 2:
  1906.                                                 {
  1907.                                                     base.iPrintLnBold("^1Your random ^3special ability ^1is: Nothing! :trolface:", Client);
  1908.                                                     break;
  1909.                                                 }
  1910.                                             case 3:
  1911.                                                 {
  1912.                                                     base.iPrintLnBold("^1Your random ^3special ability ^1is: 2x Health!", Client);
  1913.                                                     Client.Other.Health = 200;
  1914.                                                     break;
  1915.                                                 }
  1916.                                             case 4:
  1917.                                                 {
  1918.                                                     base.iPrintLnBold("^1Your random ^3special ability ^1is: +200 points!", Client);
  1919.                                                     this.Points[Client.XUID] = (int)this.Points[Client.XUID] + 200;
  1920.                                                     break;
  1921.                                                 }
  1922.                                         }
  1923.                                     }
  1924.                                 }
  1925.                             }
  1926.                             chatType = ChatType.ChatContinue;
  1927.                         }
  1928.                     }
  1929.                     else
  1930.                     {
  1931.                         if (Client.Stats.Kills < 13)
  1932.                         {
  1933.                             base.iPrintLnBold("^1You can't activate special ability. You need to earn specific kills.", Client);
  1934.                         }
  1935.                         else
  1936.                         {
  1937.                             if (Client.Team != Teams.Allies)
  1938.                             {
  1939.                                 if (Client.Team == Teams.Axis)
  1940.                                 {
  1941.                                     base.iPrintLnBold("^1Not allowed for Walkers", Client);
  1942.                                 }
  1943.                             }
  1944.                             else
  1945.                             {
  1946.                                 if ((int)this.fs[Client.XUID] < 2)
  1947.                                 {
  1948.                                     if ((int)this.fs[Client.XUID] <= 2)
  1949.                                     {
  1950.                                         base.iPrintLnBold("^1You can't use it now. You don't have enough special points!", Client);
  1951.                                     }
  1952.                                 }
  1953.                                 else
  1954.                                 {
  1955.                                     base.iPrintLnBold("^1This effect was removed by JoSchaap/Pieter :(", Client);
  1956.                                 }
  1957.                             }
  1958.                         }
  1959.                         chatType = ChatType.ChatContinue;
  1960.                     }
  1961.                 }
  1962.                 else
  1963.                 {
  1964.                     base.iPrintLnBold("^2Survive the Walking DEAD! Collect points to upgrade yourself!", Client);
  1965.                     chatType = ChatType.ChatContinue;
  1966.                 }
  1967.             }
  1968.             catch
  1969.             {
  1970.                 return 0;
  1971.             }
  1972.             return chatType;
  1973.         }
  1974.     }
  1975. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement