// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Автор плагина: Leo_[BH] / Мои плагины: http://vk.com/cs_rain
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new Float:g_LastFlashed[33];
register_plugin("Screen Fade [True Flash]", "1.0", "Leo_[BH]")
register_event("ScreenFade", "CheckFlash", "be", "4=255", "5=255", "6=255", "7>199")
register_event("DeathMsg", "hook_death", "a", "1>0")
g_msg_ScreenFade = get_user_msgid("ScreenFade")
public client_disconnect(id)
g_LastFlashed[id] = get_gametime() + 5.0
new killer = read_data(1)
if(is_user_bot(killer)) return;
if(get_gametime() > g_LastFlashed[killer])
case 1: take_screen_fade_red(killer)
case 2: take_screen_fade_green(killer)
case 3: take_screen_fade_blue(killer)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
message_begin(MSG_ONE_UNRELIABLE, g_msg_ScreenFade, {0,0,0}, id)
take_screen_fade_green(id)
message_begin(MSG_ONE_UNRELIABLE, g_msg_ScreenFade, {0,0,0}, id)
take_screen_fade_blue(id)
message_begin(MSG_ONE_UNRELIABLE, g_msg_ScreenFade, {0,0,0}, id)
// Автор плагина: Leo_[BH]
// Написание плагинов на заказ: https://goo.gl/forms/7DwrBdaTnc0pJRqy2
// Разработка серверов под заказ: https://goo.gl/forms/GIyvSAw1IJ48szDn2