
   #include <amxmod>
   #include <amxmisc>
   public plugin_init()
   {
      register_plugin("No/Old C-D = No kills.", "0.9.4", "BMJ/AssKicR")
      register_event("DeathMsg", "cd_check", "a")
      return PLUGIN_CONTINUE
   }
   public cd_check()
   {
      new id = read_data(1) // Attacker
      new team = get_user_team(id)
      new deaths = get_user_deaths(id)
      if (!passCheatDeathCheck(id)) {
         set_user_frags(id,0)
         message_begin(MSG_ALL, get_user_msgid("ScoreInfo"))
         write_byte(id)
         write_short(0)
         write_short(deaths)
         write_short(0)
         write_short(team)
         message_end()
         client_print(id,  print_center,  "Your kills will remain 0 until
   you are running the C-D client^nGet it at
   http://www.unitedadmins.com/cdeath.php")
      }
      return PLUGIN_HANDLED
   }
   public bool:passCheatDeathCheck(id)
   {
     new name[32]
     if ( !is_user_connected(id) ) return true

     // Ok CD is required Check the Name
     get_user_name(id, name, 31)
     if  ( contain(name,"[No C-D]") != -1 || contain(name,"[Old C-D]") !=
   -1 )
       return false

     return true
   }
