From 647d226764227838bf127377bd8c5ced737da3ce Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 25 Sep 2006 17:34:33 +0000 Subject: [PATCH] synchronized more hud messages as per am45020 --- plugins/cstrike/miscstats.sma | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/cstrike/miscstats.sma b/plugins/cstrike/miscstats.sma index 5e27097c..61a2a03c 100755 --- a/plugins/cstrike/miscstats.sma +++ b/plugins/cstrike/miscstats.sma @@ -82,6 +82,7 @@ new g_announce_sync new g_status_sync new g_left_sync new g_bottom_sync +new g_he_sync new g_MultiKillMsg[7][] = { @@ -197,6 +198,7 @@ public plugin_init() g_status_sync = CreateHudSyncObj() g_left_sync = CreateHudSyncObj() g_bottom_sync = CreateHudSyncObj() + g_he_sync = CreateHudSyncObj() } public plugin_cfg() @@ -402,7 +404,7 @@ public client_death(killer, victim, wpnindex, hitplace, TK) get_user_name(victim, victim_name, 31) set_hudmessage(255, 100, 100, -1.0, 0.25, 1, 6.0, 6.0, 0.5, 0.15, -1) - show_hudmessage(0, "%L", LANG_PLAYER, g_KinfeMsg[random_num(0, 3)], killer_name, victim_name) + ShowSyncHudMsg(0, g_he_sync, "%L", LANG_PLAYER, g_KinfeMsg[random_num(0, 3)], killer_name, victim_name) } if (KnifeKillSound) @@ -421,10 +423,10 @@ public client_death(killer, victim, wpnindex, hitplace, TK) if (!selfkill) { if (GrenadeKill) - show_hudmessage(0, "%L", LANG_PLAYER, g_HeMessages[random_num(0, 3)], killer_name, victim_name) + ShowSyncHudMsg(0, g_he_sync, "%L", LANG_PLAYER, g_HeMessages[random_num(0, 3)], killer_name, victim_name) } else if (GrenadeSuicide) - show_hudmessage(0, "%L", LANG_PLAYER, g_SHeMessages[random_num(0, 3)], victim_name) + ShowSyncHudMsg(0, g_he_sync, "%L", LANG_PLAYER, g_SHeMessages[random_num(0, 3)], victim_name) } if (headshot && (HeadShotKill || HeadShotKillSound))