Weapon wheel glitch

Hi, I’m having an issue lately with weapon wheel. For some reason, it glitches sometimes in a way it flashes and you can’t really select anything. It feels random and I’m having really hard to to even trigger it, hence why I’m not able to fix it…

Have anyone else encountered this? Any ideas?

See if this is accidentally placed anywhere in your code:

https://runtime.fivem.net/doc/natives/#_0x0B4DF1FA60C0E664

I’ve found only

HideHudComponentThisFrame

for hiding crosshair, but that’s not causes the issues. It’s a script we are using for about a year and never had a problem with it.

Any other ideas, @ChristopherM ?

Do you have a controller plugged in as well? Sometimes this has happened to me when I have an x360 controller plugged in and it’s resting with a button/stick being moved/pressed. If so, just move the controller sticks and press some of the buttons and then the keyboard will work correctly afterwards.

I don’t think it was active (wireless), but good point. I’ll check it next time it will happen