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

Left click input keeps getting triggered if NUI is opened while it is clicked #2508

Open
Mathu-lmn opened this issue May 7, 2024 · 5 comments
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action

Comments

@Mathu-lmn
Copy link

What happened?

If I have a weapon in hand, and I use left click to open a NUI interface, it seems that even if I stop left clicking, the left click input is not reset and my character keeps shooting until I exit the NUI, and press left click again.

Expected result

Either not shoot, or shoot one bullet and not more

Reproduction steps

Take a loaded weapon in your ped's hands
In the example video I use Kiminaze's context menu, but I've tried to do the same from a ScaleformUI's menu. You simply have to left click and make this trigger the opening of any NUI interface.
The ped will keep shooting until you exit the NUI and press left click again

Importancy

Slight inconvenience

Area(s)

FiveM

Specific version(s)

FiveM b3095

Additional information

FiveM.by.Cfx.re.-.Secret.DEV.2024-05-08.00-56-33.mp4
@Mathu-lmn Mathu-lmn added bug triage Needs a preliminary assessment to determine the urgency and required action labels May 7, 2024
@gottfriedleibniz
Copy link
Contributor

Ugh. Can you check if this is a canary-only feature?

@Mathu-lmn
Copy link
Author

I believe I've seen this issue a few years ago. But never really had a way to reproduce it everytime.
I can confirm this is happening on stable / release

@gottfriedleibniz
Copy link
Contributor

gottfriedleibniz commented May 7, 2024

I can confirm this is happening on stable / release

Are you using DirectInput or RawInput?

@Mathu-lmn
Copy link
Author

Raw Input

@Mathu-lmn
Copy link
Author

Would you want me to try with DirectInput ? Or is this issue being adressed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

2 participants