daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Oct 21st, 2018 64 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. if (cmd == "clear")
  2.     {
  3.         if (player.Admin)
  4.         {
  5.             if (args.Length != 0)
  6.             {
  7.                 Player player3 = Server.GetServer().FindPlayer(string.Join(" ", args));
  8.                 if (!player3.Equals(null))
  9.                 {
  10.                     player3.Inventory.Clear();
  11.                     player.InventoryNotice("Cleared Inventory of " + player3.Name);
  12.                 }
  13.                 else
  14.                 {
  15.                     player.MessageFrom("InventoryManager", "Sorry! Couldn't find this player!");
  16.                 }
  17.             }
  18.             else
  19.             {
  20.                 player.MessageFrom("InventoryManager", "Sorry! Couldn't find this player!");
  21.             }
  22.         }
  23.         else
  24.         {
  25.             player.MessageFrom("InventoryManager", "You don't have permission to use this command.");
  26.         }
  27.     }`if (cmd == "clear")
  28.     {
  29.         if (player.Admin)
  30.         {
  31.             if (args.Length != 0)
  32.             {
  33.                 Player player3 = Server.GetServer().FindPlayer(string.Join(" ", args));
  34.                 if (!player3.Equals(null))
  35.                 {
  36.                     player3.Inventory.Clear();
  37.                     player.InventoryNotice("Cleared Inventory of " + player3.Name);
  38.                 }
  39.                 else
  40.                 {
  41.                     player.MessageFrom("InventoryManager", "Sorry! Couldn't find this player!");
  42.                 }
  43.             }
  44.             else
  45.             {
  46.                 player.MessageFrom("InventoryManager", "Sorry! Couldn't find this player!");
  47.             }
  48.         }
  49.         else
  50.         {
  51.             player.MessageFrom("InventoryManager", "You don't have permission to use this command.");
  52.         }
  53.     }if (cmd == "clear")
  54.     {
  55.         if (player.Admin)
  56.         {
  57.             if (args.Length != 0)
  58.             {
  59.                 Player player3 = Server.GetServer().FindPlayer(string.Join(" ", args));
  60.                 if (!player3.Equals(null))
  61.                 {
  62.                     player3.Inventory.Clear();
  63.                     player.InventoryNotice("Cleared Inventory of " + player3.Name);
  64.                 }
  65.                 else
  66.                 {
  67.                     player.MessageFrom("InventoryManager", "Sorry! Couldn't find this player!");
  68.                 }
  69.             }
  70.             else
  71.             {
  72.                 player.MessageFrom("InventoryManager", "Sorry! Couldn't find this player!");
  73.             }
  74.         }
  75.         else
  76.         {
  77.             player.MessageFrom("InventoryManager", "You don't have permission to use this command.");
  78.         }
  79.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top