/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>

new thekiller

public plugin_init() {
	register_plugin("Killer screen fade", "1.0", "Flazh")
	register_event("DeathMsg","killing", "a", "1>0") 
}
public killing()
{
   thekiller = read_data(1)
   if ((read_data(3) == 1) && (read_data(5) == 0)) {
   message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, thekiller)
   write_short(1<<10)
   write_short(1<<10)
   write_short(0x0000)
   write_byte(0)
   write_byte(0)
   write_byte(200)
   write_byte(75)
   message_end()
   
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1251\\ deff0\\ deflang1049{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
