
   /* AMX Mod script.
   *
   * (c) Copyright 2002, SuicideDog
   * This file is provided as is (no warranties).
   * Makes user slow down when they shield themselves in CS 1.6
   * NOTE: THIS WILL EFFECT OTHER GRAVITY PLUGINS.
   * sv_turtle_shield (1 defualt on)|0 to turn off and on.
   */
   #include <amxmod>
   public check_shield(id){
         if (get_cvar_num("sv_turtle_shield")!=1) return PLUGIN_CONTINUE
         new user = (read_data(0))
         new shield_status = (read_data(1))
         if (shield_status==64) {
               client_print(user,print_center,"Speed/Jump   are   reduced
   when shielded.")
               set_user_maxspeed(user,110.0)
               set_user_gravity(user,1.5)
         }else if (shield_status==0) {
               set_user_gravity(user,1.0)
         }
         return PLUGIN_CONTINUE
   }
   public plugin_init(){
      register_plugin("Turtle Shield","0.2","SuicideDog")
      register_event("HideWeapon","check_shield","b")
      register_cvar("sv_turtle_shield","1")
      return PLUGIN_CONTINUE
   }
