mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 14:58:06 +03:00
fixed bug at21142
This commit is contained in:
parent
31b71760e4
commit
4165548661
@ -1059,7 +1059,9 @@ public cmdReport(id)
|
|||||||
new iWeapon, iClip, iAmmo, iHealth, iArmor
|
new iWeapon, iClip, iAmmo, iHealth, iArmor
|
||||||
|
|
||||||
iWeapon = get_user_weapon(id, iClip, iAmmo)
|
iWeapon = get_user_weapon(id, iClip, iAmmo)
|
||||||
xmod_get_wpnname(iWeapon, t_sWpn, MAX_WEAPON_LENGTH)
|
|
||||||
|
if (iWeapon != 0)
|
||||||
|
xmod_get_wpnname(iWeapon, t_sWpn, MAX_WEAPON_LENGTH)
|
||||||
|
|
||||||
iHealth = get_user_health(id)
|
iHealth = get_user_health(id)
|
||||||
iArmor = get_user_armor(id)
|
iArmor = get_user_armor(id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user