Basically, the ReserveAmmo from the last weapon is displayed even when the current weapon doesn't have any reserve ammo.
Any help would be much appreciated!
Basically, the ReserveAmmo from the last weapon is displayed even when the current weapon doesn't have any reserve ammo.
Any help would be much appreciated!
Set "visible" to 0, it will still show when needed.
whayaySet "visible" to 0, it will still show when needed.
Well, that half-fixed it. While setting the AmmoInReserve visible var to 0 removed the reserve ammo from the Flamethrower's ammo, it also removed it from every weapon that had a Reserve Clip .-. .
Here's the pastebin; I'm not using shadows:
hudammoweapons
And yeah, I reset the AmmoInReserve back to 1.
Just look at the default file, it's set to "visible" "0" everywhere.
https://github.com/whayay/def.ref.tf2/blob/master/resource/ui/hudammoweapons.res#L58
whayayJust look at the default file, it's set to "visible" "0" everywhere.
https://github.com/whayay/def.ref.tf2/blob/master/resource/ui/hudammoweapons.res#L58
Huh. Well, I remade it with the same settings (after taking that code you sent) and that fixed it. Thanks, it really helped c: