From 32deaa261f4072c52747080c255bc0428c60d0c3 Mon Sep 17 00:00:00 2001 From: Lukasz Wlasinksi Date: Sat, 9 Oct 2004 21:06:11 +0000 Subject: [PATCH] fixed weapon name bug in player status --- plugins/cstrike/miscstats.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cstrike/miscstats.sma b/plugins/cstrike/miscstats.sma index c8f0d817..75246e3e 100755 --- a/plugins/cstrike/miscstats.sma +++ b/plugins/cstrike/miscstats.sma @@ -379,7 +379,7 @@ public showStatus(id) { get_weaponname(wpnid,wpnname,31) set_hudmessage(color1,50,color2,-1.0,0.60,1, 0.01, 3.0, 0.01, 0.01, 4) show_hudmessage(id,"%s -- %d HP / %d AP / %s",name, - get_user_health(pid),get_user_armor(pid),wpnname[7]) + 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, 4)