Advertisement
techforce

QC status bar for Oxygen level in Tekbotctf+

Oct 4th, 2011
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     if ((time > (self.air_finished - 12)))
  2.         {
  3.             o2 = "     ‹‹‹‹‹‹‹‹‹‹‹‹ ";
  4.         }
  5.         if ((time > (self.air_finished - 11)))
  6.         {
  7.             o2 = "     ‹‹‹‹‹‹‹‹‹‹‹  ";
  8.         }
  9.         if ((time > (self.air_finished - 10)))
  10.         {
  11.             o2 = "     ‹‹‹‹‹‹‹‹‹‹   ";
  12.         }
  13.         if ((time > (self.air_finished - 9)))
  14.         {
  15.             o2 = "     ‹‹‹‹‹‹‹‹‹    ";
  16.         }
  17.         if ((time > (self.air_finished - 8)))
  18.         {
  19.             o2 = "     ‹‹‹‹‹‹‹‹     ";
  20.         }
  21.         if ((time > (self.air_finished - 7)))
  22.         {
  23.             o2 = "     ‹‹‹‹‹‹‹      ";
  24.         }
  25.         if ((time > (self.air_finished - 6)))
  26.         {
  27.             o2 = "     ‹‹‹‹‹‹       ";
  28.         }
  29.         if ((time > (self.air_finished - 5)))
  30.         {
  31.             o2 = "     ‹‹‹‹‹        ";
  32.         }
  33.         if ((time > (self.air_finished - 4)))
  34.         {
  35.             o2 = "     ‹‹‹‹         ";
  36.         }
  37.         if ((time > (self.air_finished - 3)))
  38.         {
  39.             o2 = "     ‹‹‹          ";
  40.         }
  41.         if ((time > (self.air_finished - 2)))
  42.         {
  43.             o2 = "     ‹‹           ";
  44.         }
  45.         if ((time > (self.air_finished - 1)))
  46.         {
  47.             o2 = "                  ";
  48.         }
  49.         if (((time > self.air_finished)) || ((pointcontents (self.origin) == CONTENT_LAVA)))
  50.         {
  51.             o2 = "0";
  52.         }
  53.         if ((o2 != "0"))
  54.         {
  55.             centerprintcat (self, "OXYGENü\n", o2);
  56.         }
  57.     }
  58.     else
  59.     {
  60.         centerprint7 (self, res, s1, s2, s3, "        ", t, n);
  61.     }
  62.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement