
   #include <amxmod>
   #include <logd>
   new tkcount[33]
   new banished[33]
   new latestkiller[33]
   new gMenu
   new choosing[33]
   new lastcredit[33]
   new intoxicates[14][33]
   new BOMB_FUSE = 10        // fuse time (can be changed)
   new   BOMBKILL_RANGE   =  250  //  killing  radius  of  bomb.  (96  is
   playerheight)
   new smoke
   new white
   new fire
   new Float:ejl_ff
   new IsBomb[33]
   new IsKamik[33]
   new bool:rs = false
   public plugin_precache()
   {
      precache_sound( "ambience/thunder_clap.wav")
      precache_sound( "weapons/headshot2.wav")
      smoke = precache_model("sprites/steam1.spr")
      white = precache_model("sprites/white.spr")
      fire = precache_model("sprites/explode1.spr")
      precache_sound( "buttons/blip2.wav")
      return PLUGIN_CONTINUE
   }
   public constslap(id[]){
       user_slap(str_to_num(id),0)
   }
   public intoxicate(id[]){
       new numpunishthing = random(7) * 2
       new thingy3[33]
       num_to_str(numpunishthing, thingy3, 32)
       client_cmd(str_to_num(id),intoxicates[numpunishthing])
       new loopthingy = 0
       for(;loopthingy <= 30;loopthingy++){
           client_cmd(str_to_num(id),"wait");
       }
       client_cmd(latestkiller[str_to_num(id)],intoxicates[++numpunishthi
   ng])
   }
   public timebomb_timer(){
      new hibomb = 100
      new maxpl = get_maxplayers()
      new a
      for(a = 0; a < maxpl; a++) {
         if ((IsBomb[a] != 0) && (IsBomb[a] < hibomb)){
            hibomb = a
         }
      }
      for(a = 1; a < maxpl; a++) {
         if (IsBomb[a] > 0){
            emit_sound(a,CHAN_ITEM,  "buttons/blip2.wav", 1.0, ATTN_NORM,
   0, PITCH_NORM)
            if (IsBomb[a] == 1){
               blowem_up(a)
            }else{
               IsBomb[a] -= 1
               if (a == hibomb){
                  new name[32]
                  get_user_name(a,name,32)
                  set_hudmessage(0,  100,  200, 0.05, 0.65, 2, 0.02, 1.0,
   0.01, 0.1, 2)
                  show_hudmessage(0,"%s     will     explode     in    %d
   seconds.",name,IsBomb[a])
                  if (IsBomb[a] == 11){
                     client_cmd(0,"spk ^"fvox/remaining^"")
                  }
                  if (IsBomb[a] < 11){
                     new temp[48]
                     num_to_word(IsBomb[a],temp,48)
                     client_cmd(0,"spk ^"fvox/%s^"",temp)
                  }
               }
               if(is_user_alive(a) == 0){
                  blowem_up(a)
               }
            }
         }
      }
   }
   public blowem_up(id){
      new bombguyfrags
      if(id == 100){
         new maxpl = get_maxplayers()
         for(new a = 0; a < maxpl; a++) {
            if ((IsBomb[a] > 0) || (IsKamik[a] == 1)){
         IsKamik[a] = 0
         IsBomb[a] = 0
         new name[32]
         get_user_name(a,name,32)
         set_user_rendering(a,kRenderFxNone,255,255,255,
   kRenderNormal,16);
         set_hudmessage(0, 100, 200, 0.05, 0.65, 2, 0.02, 1.0, 0.01, 0.1,
   2)
         show_hudmessage(0,"%s has exploded.",name)
         new origin[3]
         get_user_origin(a,origin)
         origin[2] = origin[2] - 26
         user_kill(a,1)
         explode(origin)
         }
      }
      }else{
      if (IsBomb[id] > 0){
         IsBomb[id] = 0
         IsKamik[id] = 0
         new name[32]
         new team[32]
         get_user_name(id,name,32)
         set_user_rendering(id,kRenderFxNone,255,255,255,
   kRenderNormal,16);
         set_hudmessage(0, 100, 200, 0.05, 0.65, 2, 0.02, 1.0, 0.01, 0.1,
   2)
         show_hudmessage(0,"%s has exploded.",name)
         ejl_ff = get_cvar_float("mp_friendlyfire")
         new origin[3]
         get_user_origin(id,origin)
         get_user_team(id, team , 32);
         new maxpl = get_maxplayers()
         for(new a = 1; a < maxpl; a++) {
           new origin1[3]
           new team1[32]
           get_user_origin(a,origin1)
           get_user_team(a, team1 , 32)
           if(is_user_alive(a) != 0){
         if(     !     (origin[0]-origin1[0]    >    BOMBKILL_RANGE    ||
   origin[0]-origin1[0] < - BOMBKILL_RANGE ||
                           origin[1]-origin1[1]   >   BOMBKILL_RANGE   ||
   origin[1]-origin1[1] < - BOMBKILL_RANGE ||
                           origin[2]-origin1[2]   >   BOMBKILL_RANGE   ||
   origin[2]-origin1[2] < - BOMBKILL_RANGE) ){
            if(ejl_ff == 0){
            if(!equal(team, team1, 1)){
               client_print(a,print_chat,"  You  were  to  close  to  the
   walking timebimb.")
               user_kill(a,1)
               if(a != id){
               bombguyfrags = get_user_frags(id)
               bombguyfrags +=1
               set_user_frags(id,bombguyfrags)
               }
               explode(origin1)
               }
            }
            if(ejl_ff == 1){
            if(rs == false){
               client_print(a,print_chat,"  Sorry,    the   bomb   killed
   you.")
               user_kill(a,1)
               if(!equal(team, team1, 1)){
               bombguyfrags = get_user_frags(id)
               bombguyfrags +=1
               set_user_frags(id,bombguyfrags)
               }
               if(a != id){
               explode(origin1)
               }
            }
            else {
               client_print(a,print_chat,"  Sorry,    the   bomb   killed
   you.")
               if(a == id){
               user_kill(a,1)
                           }
                        }
                     }
                  }
               }
           }
         if(ejl_ff == 0){
         client_print(id,print_chat,"  Sorry, the bomb killed you.")
         user_kill(id,1)
           }
         origin[2] = origin[2] - 26
         explode(origin)
         }
      }
   }
   explode(vec1[3]){
      // blast circles
      message_begin( MSG_BROADCAST,SVC_TEMPENTITY,vec1)
      write_byte( 21 )
      write_coord(vec1[0])
      write_coord(vec1[1])
      write_coord(vec1[2] + 16)
      write_coord(vec1[0])
      write_coord(vec1[1])
      write_coord(vec1[2] + 1936)
      write_short( white )
      write_byte( 0 ) // startframe
      write_byte( 0 ) // framerate
      write_byte( 2 ) // life 2
      write_byte( 20 ) // width 16
      write_byte( 0 ) // noise
      write_byte( 188 ) // r
      write_byte( 220 ) // g
      write_byte( 255 ) // b
      write_byte( 255 ) //brightness
      write_byte( 0 ) // speed
      message_end()

      //Explosion2
      message_begin( MSG_BROADCAST,SVC_TEMPENTITY)
      write_byte( 12 )
      write_coord(vec1[0])
      write_coord(vec1[1])
      write_coord(vec1[2])
      write_byte( 188 ) // byte (scale in 0.1's) 188
      write_byte( 10 ) // byte (framerate)
      message_end()
      //TE_Explosion
      message_begin( MSG_BROADCAST,SVC_TEMPENTITY,vec1)
      write_byte( 3 )
      write_coord(vec1[0])
      write_coord(vec1[1])
      write_coord(vec1[2])
      write_short( fire )
      write_byte( 60 ) // byte (scale in 0.1's) 188
      write_byte( 10 ) // byte (framerate)
      write_byte( 0 ) // byte flags
      message_end()
      //Smoke
      message_begin( MSG_BROADCAST,SVC_TEMPENTITY,vec1)
      write_byte( 5 ) // 5
      write_coord(vec1[0])
      write_coord(vec1[1])
      write_coord(vec1[2])
      write_short( smoke )
      write_byte( 10 )  // 2
      write_byte( 10 )  // 10
      message_end()
   }
   public unbanish(idthing[]){
       new id = find_player("lb",idthing)
       banished[id] = 0
       user_kill(id)
       client_cmd(id, "console 1")
       return PLUGIN_HANDLED
   }
   public menu_option1(id,keys){
       if(choosing[id] != 0){
           choosing[id] = 0
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(0,  print_chat,  "%s  saved  his revenge on %s.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       return PLUGIN_CONTINUE
   }
   public menu_option2(id,keys){
       if(choosing[id] == 1){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= 5
           user_slap(latestkiller[id],50)
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(latestkiller[id],  print_chat, "Slapped by %s for
   TKing.   You   now  have  %i  tk  credits  against  you",  victimname,
   tkcount[latestkiller[id]])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           client_print(0,   print_chat,  "%s  slapped  %s  for  TKing.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       if(choosing[id] == 2){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= 35
           IsBomb[latestkiller[id]] = BOMB_FUSE
           new killername[33]
           new victimname[33]
           get_user_name(latestkiller[id],killername,32)
           get_user_name(id,victimname,32)
           set_user_rendering(latestkiller[id],kRenderFxGlowShell,
   255,0,0, kRenderNormal,16)
           client_cmd(0,"spk   ^"vox/warning   _comma  _comma  detonation
   device activated^"")
           client_print(latestkiller[id], print_chat, "Turned into a bomb
   by  %s for TKing. You now have %i tk credits against you", victimname,
   tkcount[latestkiller[id]])
           client_print(0,  print_chat,  "%s  turned  into  a bomb %s for
   TKing.", victimname, killername)
           return PLUGIN_HANDLED
       }
       return PLUGIN_CONTINUE
   }
   public menu_option3(id,keys){
       if(choosing[id] == 1){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= 5
           set_user_rendering(latestkiller[id],kRenderFxGlowShell,random(
   256),random(256),random(256),kRenderNormal,16)
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(latestkiller[id],  print_chat,  "Glowified  by %s
   for  TKing.  You  now  have  %i  tk  credits against you", victimname,
   tkcount[latestkiller[id]])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           client_print(0,  print_chat,  "%s  glowified  %s  for TKing.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       if(choosing[id] == 2){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= 40
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(latestkiller[id],  print_chat,  "Being constantly
   slapped  by  %s  for  TKing.  You now have %i tk credits against you",
   victimname, tkcount[latestkiller[id]])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           new id2[33]
           num_to_str(latestkiller[id],id2,32)
           set_task(3.0,"constslap",0, id2, 32,"a",30)
           client_print(0,  print_chat, "%s is now constantly slapping %s
   for TKing.", victimname, killername)
           return PLUGIN_HANDLED
       }
       return PLUGIN_CONTINUE
   }
   public menu_option4(id,keys){
       if(choosing[id] == 1){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= 15
           user_slap(latestkiller[id], 50)
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(latestkiller[id],  print_chat,  "Major slapped by
   %s  for  TKing.  You  now have %i tk credits against you", victimname,
   tkcount[latestkiller[id]])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           client_print(0,  print_chat, "%s major slapped %s for TKing.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       if(choosing[id] == 2){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= 50
           new origin[3] = {5000, 5000, 5000}
           set_user_origin(latestkiller[id], origin)
           banished[latestkiller[id]] = 1
           new latestkillername[33]
           get_user_name(latestkiller[id],latestkillername,32)
           client_cmd(latestkiller[id], "console 0")
           set_task(30.0,"unbanish",1337,latestkillername,32)
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(latestkiller[id],  print_chat,  "Banished  for 30
   seconds  by  %s  for  TKing.  You now have %i tk credits against you",
   victimname, tkcount[latestkiller[id]])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           client_print(0,  print_chat,  "%s  banished  %s  for  TKing.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       return PLUGIN_CONTINUE
   }
   public menu_option5(id,keys){
       if(choosing[id] == 1){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= 20
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(latestkiller[id],  print_chat, "Intoxicated by %s
   for  TKing.  You  now  have  %i  tk  credits against you", victimname,
   tkcount[latestkiller[id]])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           new id2[33]
           num_to_str(latestkiller[id],id2,32)
           set_task(10.0,"intoxicate",0, id2, 32,"a",30)
           client_print(0,  print_chat,  "%s  intoxicated %s for TKing.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       if(choosing[id] == 2){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= 50
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(latestkiller[id],  print_chat,  "Chickened  by %s
   for  TKing.  You  now  have  %i  tk  credits against you", victimname,
   tkcount[latestkiller[id]])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           server_cmd("c_chicken # %d",latestkiller[id])
           client_print(0,  print_chat,  "%s  chickened  %s  for TKing.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       return PLUGIN_CONTINUE
   }
   public menu_option6(id,keys){
       if(choosing[id] == 1){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= 25
           user_kill(latestkiller[id],1)
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(latestkiller[id],  print_chat,  "Slain  by %s for
   TKing.   You   now  have  %i  tk  credits  against  you",  victimname,
   tkcount[latestkiller[id]])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           client_print(0,   print_chat,   "%s  slayed  %s  for  TKing.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       if(choosing[id] == 2){
           choosing[id] = 0
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(latestkiller[id],  print_chat,  "Kicked by %s for
   TKing.   You   now  have  %i  tk  credits  against  you",  victimname,
   tkcount[latestkiller[id]])

           server_cmd("kick #%i",latestkiller[id])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           client_print(0,   print_chat,   "%s  slowed  %s  for  TKing.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       return PLUGIN_CONTINUE
   }
   public menu_option7(id,keys){
       if(choosing[id] == 1){
           choosing[id] = 0
           new victimname[33]
           get_user_name(id,victimname,32)
           set_user_maxspeed(latestkiller[id],20 * 1.0)
           client_print(latestkiller[id],  print_chat,  "Kicked by %s for
   TKing.   You   now  have  %i  tk  credits  against  you",  victimname,
   tkcount[latestkiller[id]])
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           client_print(0,   print_chat,   "%s  slowed  %s  for  TKing.",
   victimname, killername)
           return PLUGIN_HANDLED
       }
       return PLUGIN_CONTINUE
   }
   public menu_option8(id,keys){
       if (choosing[id] == 1) choosing[id] = 2
       if (choosing[id] == 2) choosing[id] = 1
       menushow(id)
       return PLUGIN_CONTINUE
   }
   public menu_option9(id,keys){
       if(choosing[id] == 0){
           choosing[id] = 0
           tkcount[latestkiller[id]] -= lastcredit[latestkiller[id]]
           new killername[33]
           get_user_name(latestkiller[id],killername,32)
           new victimname[33]
           get_user_name(id,victimname,32)
           client_print(0,  print_chat,  "%s  forgave  %s.",  victimname,
   killername)
           return PLUGIN_HANDLED
       }
       return PLUGIN_CONTINUE
   }
   public antiselfkill(id){
       if(banished[id])
           return PLUGIN_HANDLED
       return PLUGIN_CONTINUE
   }
   public logd_kill(id1,id2,weapon[]) {
       if(get_user_team(id1) == get_user_team(id2)){
           client_print(0,print_chat,"Same Team")
           if(id1 != id2){
               choosing[id2] = 1
               latestkiller[id2] = id1
               //Counter-Strike Support
               if(equal(weapon,"ak47")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"aug")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"awp")){
                   tkcount[id1] += 5
                   lastcredit[id1] = 5
               }
               if(equal(weapon,"deagle")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"elite")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"fiveseven")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"g3sg1")){
                   tkcount[id1] += 5
                   lastcredit[id1] = 5
               }
               if(equal(weapon,"glock18")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"knife")){
                   tkcount[id1] += 20
                   lastcredit[id1] = 20
               }
               if(equal(weapon,"m3")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"m3super90")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"m4a1")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"m249")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"mac10")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"mp5")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"p90")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"p228")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"scout")){
                   tkcount[id1] += 5
                   lastcredit[id1] = 5
               }
               if(equal(weapon,"sg550")){
                   tkcount[id1] += 5
                   lastcredit[id1] = 5
               }
               if(equal(weapon,"sg552")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"tmp")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"ump45")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"usp")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"xm1014")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }

               //Counter-Strike 1.6 :D
               if(equal(weapon,"galil")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"famas")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               // Day of Defeat Support
               if(equal(weapon,"fg42")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"scopedfg42")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"fcarbine")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"garand")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"30cal")){
                   tkcount[id1] += 5
                   lastcredit[id1] = 5
               }
               if(equal(weapon,"bar")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"carbine")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"colt")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"gerknife")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"greasegun")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"grenade")){
                   tkcount[id1] += 0
                   lastcredit[id1] = 0
               }
               if(equal(weapon,"k43")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"k98")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"scopedkar")){
                   tkcount[id1] += 5
                   lastcredit[id1] = 5
               }
               if(equal(weapon,"amerknife")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"luger")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"mg34")){
                   tkcount[id1] += 5
                   lastcredit[id1] = 5
               }
               if(equal(weapon,"mg42")){
                   tkcount[id1] += 5
                   lastcredit[id1] = 5
               }
               if(equal(weapon,"mp40")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"mp44")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"spade")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               if(equal(weapon,"spring")){
                   tkcount[id1] += 5
                   lastcredit[id1] = 5
               }
               if(equal(weapon,"stick")){
                   tkcount[id1] += 0
                   lastcredit[id1] = 0
               }
               if(equal(weapon,"thompson")){
                   tkcount[id1] += 10
                   lastcredit[id1] = 10
               }
               if(equal(weapon,"yknife")){
                   tkcount[id1] += 15
                   lastcredit[id1] = 15
               }
               menushow(id2)
           }
       }
       return PLUGIN_CONTINUE
   }
   public menushow(id){
       new menutext[256]
       new killername[33]
       get_user_name(latestkiller[id],killername,32)
       new a[33]
       format(a,32,"%s Revenge^nHe has %i
   credits^n",killername,tkcount[latestkiller[id]])
       add(menutext,255,a)
       add(menutext,255,"1. Save Revenge For Later^n")
       if(tkcount[latestkiller[id]] >= 5 && choosing[id] == 1){
           add(menutext,255,"2. Slap (5)^n3. Glow (5)^n")
       }
       if(tkcount[latestkiller[id]] >= 15 && choosing[id] == 1){
           add(menutext,255,"4. Major Slap (15)^n")
       }
       if(tkcount[latestkiller[id]] >= 20 && choosing[id] == 1){
           add(menutext,255,"5. Intoxicate (20)^n")
       }
       if(tkcount[latestkiller[id]] >= 25 && choosing[id] == 1){
           add(menutext,255,"6. Slay (25)^n7. Slow (25)^n")
       }
       if(tkcount[latestkiller[id]] >= 35 && choosing[id] == 2){
           add(menutext,255,"2. Turn into Bomb (35)^n")
       }
       if(tkcount[latestkiller[id]] >= 40 && choosing[id] == 2){
           add(menutext,255,"3. Constant Slap (40)^n")
       }
       if(tkcount[latestkiller[id]] >= 50 && choosing[id] == 2){
           add(menutext,255,"4.  Banish  for  30  secs  (50)^n5.  Chicken
   (50)^n")
       }
       if(tkcount[latestkiller[id]] >= 60 && choosing[id] == 2){
           add(menutext,255,"6. Kick (60)^n")
       }
       add(menutext,255,"^n")
       if(tkcount[latestkiller[id]] >= 35){
           add(menutext,255,"8. More!^n")
       }
       add(menutext,255,"9. Forgive^n")
       show_menu(id,((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<
   <7)|(1<<8)),menutext)
   }
   public client_connect(id){
       tkcount[id] = 0
       banished[id] = 0
       return PLUGIN_CONTINUE
   }
   public client_disconnect(id){
       tkcount[id] = 0
       banished[id] = 0
       return PLUGIN_CONTINUE
   }
   public plugin_init(){
       register_plugin("TK Charge Up","0.0","LGBR")
       register_menucmd(gMenu,(1<<0),"menu_option1")
       register_menucmd(gMenu,(1<<1),"menu_option2")
       register_menucmd(gMenu,(1<<2),"menu_option3")
       register_menucmd(gMenu,(1<<3),"menu_option4")
       register_menucmd(gMenu,(1<<4),"menu_option5")
       register_menucmd(gMenu,(1<<5),"menu_option6")
       register_menucmd(gMenu,(1<<6),"menu_option7")
       register_menucmd(gMenu,(1<<7),"menu_option8")
       register_menucmd(gMenu,(1<<8),"menu_option9")
       register_clcmd("kill","antiselfkill")
       register_clcmd("chooseteam","antiselfkill")
       set_task(1.0,"timebomb_timer",0,"",0,"a", 9999)
       format(intoxicates[0], 32, "+forward")
       format(intoxicates[1], 32, "-forward")
       format(intoxicates[2], 32, "+back")
       format(intoxicates[3], 32, "-back")
       format(intoxicates[4], 32, "+moveleft")
       format(intoxicates[5], 32, "-moveleft")
       format(intoxicates[6], 32, "+moveright")
       format(intoxicates[7], 32, "-moveright")
       format(intoxicates[8], 32, "+attack")
       format(intoxicates[9], 32, "-attack")
       format(intoxicates[10], 32, "+use")
       format(intoxicates[11], 32, "-use")
       format(intoxicates[12], 32, "slot1")
       format(intoxicates[13], 32, "slot2")
       logd_init()
       return PLUGIN_CONTINUE
   }
