fixed weapon name bug in player status

This commit is contained in:
Lukasz Wlasinksi 2004-10-09 21:06:11 +00:00
parent 3a8e103faf
commit 32deaa261f

View File

@ -379,7 +379,7 @@ public showStatus(id) {
get_weaponname(wpnid,wpnname,31) get_weaponname(wpnid,wpnname,31)
set_hudmessage(color1,50,color2,-1.0,0.60,1, 0.01, 3.0, 0.01, 0.01, 4) 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, 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 { else {
set_hudmessage(color1,50,color2,-1.0,0.60,1, 0.01, 3.0, 0.01, 0.01, 4) set_hudmessage(color1,50,color2,-1.0,0.60,1, 0.01, 3.0, 0.01, 0.01, 4)