fixed display bug

This commit is contained in:
David Anderson 2006-02-28 23:43:22 +00:00
parent 3c1b564956
commit 84b09301e6

View File

@ -77,7 +77,6 @@ new Float:g_doubleKill
new g_doubleKillId
new g_friend[33]
new g_firstBlood
new g_channel[33]
new g_main_sync
new g_player_sync
@ -233,7 +232,6 @@ public client_putinserver(id)
{
g_multiKills[id] = {0, 0}
g_streakKills[id] = {0, 0}
g_channel[id] = 0
}
public client_death(killer, victim, wpnindex, hitplace, TK)
@ -483,7 +481,7 @@ public hideStatus(id)
{
if (PlayerName)
{
set_hudmessage(0, 0, 0, 0.0, 0.0, 0, 0.0, 0.01, 0.0, 0.0, g_channel[id])
set_hudmessage(0, 0, 0, 0.0, 0.0, 0, 0.0, 0.01, 0.0, 0.0, -1)
ShowSyncHudMsg(id, g_player_sync, "")
}
}
@ -513,10 +511,10 @@ public showStatus(id)
if (wpnid)
xmod_get_wpnname(wpnid, wpnname, 31)
set_hudmessage(color1, 50, color2, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, g_channel[id])
set_hudmessage(color1, 50, color2, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01)
ShowSyncHudMsg(id, g_player_sync, "%s -- %d HP / %d AP / %s", name, get_user_health(pid), get_user_armor(pid), wpnname)
} else {
set_hudmessage(color1, 50, color2, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, g_channel[id])
set_hudmessage(color1, 50, color2, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01)
ShowSyncHudMsg(id, g_player_sync, "%s", name)
}
}