
   /*
   * AMX Mod script.
   * This file is provided as is (no warranties).
   *
   *  by ToT|V!PER (viper@totclan.de)
   *
   * Homepage: http://www.totclan.de
   * IRC-Chan: #totclan @ irc.de.quakenet.org
   *
   * ------------------------------------------------
   *
   * This plugins sets the currently running map as
   * following map. Usefull for clanwars or server
   * admins that donīt use AMX Match or something
   * similar.
   *
   */
   #include <amxmod>
   #include <amxmisc>
   public amx_currmap(id,level,cid){
       if (!cmd_access(id,level,cid,0))
           return PLUGIN_HANDLED
       new currentmap[64]
       get_mapname(currentmap,63)
       set_cvar_string("amx_nextmap",currentmap)
       return PLUGIN_HANDLED
   }
   public plugin_init() {
       register_plugin("SameMap","0.9.4","ToT|V!PER")
       register_concmd("amx_samemap","amx_currmap",ADMIN_CVAR,"- sets the
   nextmap to currently running map")
       return PLUGIN_CONTINUE
   }
