// ****************************** // Jail Break Mod // for Counter-Strike: Source // by Knifey and Dabi // // * Description: // Mod for common Jail Break issues // // // * Install instructions: // 1. Install Mattie's EventScripts plugins: // http://mattie.info/cs // // 2. Install Mani Admin Plugin: // http://www.mani-admin-plugin.com // // 3. Copy all of this script into a new textfile: // cstrike/addons/eventscripts/jailbreak/es_jailbreak.txt // // 4. Add the following line somewhere in autoexec.cfg: // es_load jailbreak // // 5. (Optional) Review the config settings below and tweak // // ****************************** block config { // ********************** // JAILBREAK SETTINGS // ********************** // enable jailbreak 1 // enables anti ghosting (dead people can not talk) jailbreak_antighosting 1 // enables terrorist mute system jailbreak_mutet 0 } // ********************************** // DONT EDIT ANYTHING PAST THIS POINT // ********************************** event load { es_log Loading JailBreak... // called whenever the plugin is loaded es_xsetinfo jailbreak 1 es_makepublic jailbreak es_msg Jail Break Mod has been loaded. // import the user's configs es_doblock jailbreak/config } event round_start { if (server_var(jailbreak) > 0) do { // mute terrorists if (server_var(jailbreak_mutet) > 0) do { es ma_mute #t 1 es ma_mute #ct 0 } if (server_var(jailbreak_antighosting) > 0) then es ma_mute #all 0 } } event player_death { if (server_var(jailbreak) > 0) do { if (server_var(jailbreak_antighosting) > 0) do { es ma_mute event_var(es_steamid) 1 es_tell event_var(userid) "You have been muted, you will be unmuted on next round-start." } } } // ********************* // END JAILBREAK MOD // *********************