mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
synchronized more hud messages as per am45020
This commit is contained in:
parent
f086273d2b
commit
647d226764
@ -82,6 +82,7 @@ new g_announce_sync
|
|||||||
new g_status_sync
|
new g_status_sync
|
||||||
new g_left_sync
|
new g_left_sync
|
||||||
new g_bottom_sync
|
new g_bottom_sync
|
||||||
|
new g_he_sync
|
||||||
|
|
||||||
new g_MultiKillMsg[7][] =
|
new g_MultiKillMsg[7][] =
|
||||||
{
|
{
|
||||||
@ -197,6 +198,7 @@ public plugin_init()
|
|||||||
g_status_sync = CreateHudSyncObj()
|
g_status_sync = CreateHudSyncObj()
|
||||||
g_left_sync = CreateHudSyncObj()
|
g_left_sync = CreateHudSyncObj()
|
||||||
g_bottom_sync = CreateHudSyncObj()
|
g_bottom_sync = CreateHudSyncObj()
|
||||||
|
g_he_sync = CreateHudSyncObj()
|
||||||
}
|
}
|
||||||
|
|
||||||
public plugin_cfg()
|
public plugin_cfg()
|
||||||
@ -402,7 +404,7 @@ public client_death(killer, victim, wpnindex, hitplace, TK)
|
|||||||
get_user_name(victim, victim_name, 31)
|
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)
|
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)
|
if (KnifeKillSound)
|
||||||
@ -421,10 +423,10 @@ public client_death(killer, victim, wpnindex, hitplace, TK)
|
|||||||
if (!selfkill)
|
if (!selfkill)
|
||||||
{
|
{
|
||||||
if (GrenadeKill)
|
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)
|
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))
|
if (headshot && (HeadShotKill || HeadShotKillSound))
|
||||||
|
Loading…
Reference in New Issue
Block a user