// ****************************** // Hidra´s Bullet Messure v0.1 // // 1. Install Mattie's EventScripts plugins: // http://mattie.info/cs // // 2. Copy all of this script into a new textfile: // /addons/eventscripts/bullet/es_bullet.txt // // 3. Add the following line somewhere in autoexec.cfg: // es_load bullet // // ****************************** // This block is called whenever the addon is loaded via es_load block load { // enables kill sound mugmod_sounds 1 mugmod_soundfile "mb_bullettime/exit.mp3/" // create a variable (default to on) es_setinfo mattie_attract 1 // make it public so we can see it via HLSW es_makepublic mattie_attract // Announce it. es_msg #green *\B-M/* has been enabled. noclip } // This event is called whenever a new round begins. event round_start { if (server_var(mattie_attract) = 1) do { es_msg #green [Attract] Whenever you shoot someone, you will be pulled to them. } } // This event is called whenever a player gets hurt event player_hurt { if (server_var(mattie_attract) = 1) do { // Only trigger if they're on opposing teams if (event_var(es_attackerteam) != event_var(es_userteam)) do { es_tell event_var(attacker) #green [bullet-messure] You have hurt event_var(es_username) - nice one!. } } } }