
   /* AMX Mod script.
   *
   * (c) Copyright 2002, OLO
   * This file is provided as is (no warranties).
   *
   */
   #include <amxmod> /* natives */
   public slap_awper(id) {
       new power = get_cvar_num("amx_slapawpers_power")
       if (get_user_health(id) > power)
           user_slap(id,power)
   }
   public plugin_init(){
       register_plugin("Slap Awp Users","0.5","default")
       register_event("WeapPickup","slap_awper","b","1=18")  /*   CSW_AWP
   == 18 - from amxconst.inc */
       register_cvar("amx_slapawpers_power","80")
       return PLUGIN_CONTINUE
   }
