
   /*
   * AMX MOD SCRIPT
   *
   * C4 Modes v0.5 - Vorex
   * This file is provided as is (no warranties).
   *
   */
   #include <amxmod>
   #include <amxmisc>
   #define TEAM_T 1
   #define TEAM_CT 2
   public round_start(id) {
      switch(get_user_team(id)) {
         case TEAM_T: if (get_cvar_num("c4_t")) give_item(id,"weapon_c4")
         case         TEAM_CT:         if         (get_cvar_num("c4_ct"))
   give_item(id,"weapon_c4")
   }
      return PLUGIN_CONTINUE
   }
   public plugin_init() {
      register_plugin("C4 Modes","0.5","Vorex")
      register_cvar("c4_t","1")
      register_cvar("c4_ct","0")
      register_event("ResetHUD", "round_start", "b")
      return   PLUGIN_CONTINUE
   }
