Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTT HUD tries to get the ammo clip of the spectator target #88

Open
itsmeaddof123 opened this issue Sep 9, 2020 · 1 comment
Open
Labels
Bug Something isn't working

Comments

@itsmeaddof123
Copy link
Collaborator

return wep:Clip1()

return targ:GetAmmoCount(wep:GetPrimaryAmmoType())

Whenever a dead player is spectating someone else, the TTT Ammo HUD tries to get their clip via Clip1 but that value isn't shared across clients. I believe the same issue happens with GetAmmoCount.

Also happens here and here and here

@itsmeaddof123 itsmeaddof123 added the Bug Something isn't working label Sep 9, 2020
@meepen
Copy link
Owner

meepen commented Feb 13, 2022

yeah the problem is that it's not networked to other clients, the only way to truly solve this is to make our own ammo network var on weapons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants