
   #include <amxmod>
   #include <logd>
   public logd_kill(id1,id2,weapon[]) {
       new Killer[33]
       new Victim[33]
       get_user_name(id1, Killer,32)
       get_user_name(id2, Victim,32)
       new health = get_user_health(id1)
       if(get_user_team(id1)==get_user_team(id2)){
           return PLUGIN_HANDLED
       }
       //CS
       if(equal(weapon,"knife")){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0,  "%s was awarded 50 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 50)
       }
       //DoD Stuff
       if(equal(weapon, "stick") && get_user_team(id1) == 1){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0, "%s was awarded 200 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 200)
       }
       if(equal(weapon, "grenade") && get_user_team(id1) == 2){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0, "%s was awarded 200 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 200)
       }
       if(equal(weapon, "yknife")){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0,  "%s was awarded 50 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 50)
       }
       if(equal(weapon, "amerknife")){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0,  "%s was awarded 50 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 50)
       }
       if(equal(weapon, "gerknife")){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0,  "%s was awarded 50 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 50)
       }
       if(equal(weapon, "bayonet")){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0,  "%s was awarded 50 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 50)
       }
       if(equal(weapon, "spade")){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0,  "%s was awarded 50 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 50)
       }
       if(equal(weapon, "luger")){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0,  "%s was awarded 15 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 15)
       }
       if(equal(weapon, "colt")){
           set_hudmessage(0, 130, 200)
           show_hudmessage(0,  "%s was awarded 15 HP^nFor killing %s with
   the %s", Killer, Victim,weapon)
           set_user_health(id1, health + 15)
       }
       return PLUGIN_CONTINUE
   }
   public headshot(){
       new killer = read_data(1)
       new victim = read_data(2)
       new Killer[33]
       new Victim[33]
       get_user_name(killer, Killer,32)
       get_user_name(victim, Victim,32)
       if(get_user_team(killer) != get_user_team(victim)){
           new health = get_user_health(killer)
           set_hudmessage(0, 130, 200)
           show_hudmessage(0, "%s was awarded 10 HP^nFor killing %s via a
   headshot", Killer, Victim)
           set_user_health(killer, health + 10)
       }
       return PLUGIN_CONTINUE
   }

   public plugin_init() {
      register_plugin("LGBR Rewards","0.0","default")
      register_event("DeathMsg","headshot","ade","3=1","5=0")
      logd_init()
      return PLUGIN_CONTINUE
   }
