// // AMX Mod X 1.0 Script // // Developed by The AMX Mod X DoD Community // http://www.dodplugins.net // // Authors: [RST] FireStorm & |BW|.Zor // // Converted to TFC by pizzahut // Note: Had to remove the "no victim death" feature, as get_user_deaths/set_user_deaths // is not supported in TFC. (It does compile, but leads to a run-time error.) // // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // // // // INSTALLATION (STANDARD VERSION): // ================================ // // you have to create a folder called "tks" in your // /addons/amxmodx/configs/ folder. // if you don't do this, the TK save feature will not // work. // // // // INSTALLATION (MYSQL VERSION): // ============================= // // the plugin will create a table called "tks" in your // database, you don't have to do anything manually. // // // // USAGE (cvars for amxx.cfg): // =========================== // // tfc_tkrevenge_enabled <1/0> = enable/disable TFC TK Revenge // by default // // tfc_tkrevenge_obeyimmunity <1/0> = enable/disable Admins with flag // "a" (Immunity) being excluded // from any revenge for TA/TKs. // // tfc_tkrevenge_options <1/2/3> = sets the menu options for the // TFC TK Revenge Menu: // 1 = Forgive!, 1hp (& Glow!), Slay! // 2 = Forgive!, Slay! // 3 = Forgive!, Slap 50percent!, Slay! // 4 = Forgive!, DON'T Forgive! // // tfc_tkrevenge_enableglow <1/0> = enable/disable glowing players // (menu & bot actions) // // tfc_tkrevenge_forgiveslap <1/0> = enable/disable slapping the TKer // without damage if "Forgive!" was // chosen by the victim // // tfc_tkrevenge_playersaytks <1/0> = allow/disallow players to check their // current TK-Count by saying "/tks" // // tfc_tkrevenge_spawnprotect <1/0> = enable/disable automatic slaying of // team killers in defined spawn time // // tfc_tkrevenge_spawnmirrordmg <1/0> = enable/disable mirror damage for // team attacks in defined spawn time // (spawnprotect feature needs to be enabled!) // // tfc_tkrevenge_spawntime